Changeset 2456 for package_branches


Ignore:
Timestamp:
Aug 21, 2009, 4:57:56 PM (15 years ago)
Author:
quentin
Message:

Handle control characters from Safari (they arrive pre-translated)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/static/ajaxterm/ajaxterm.js

    r2454 r2456  
    170170                        else if (kc==219) k=String.fromCharCode(29); // Ctrl-]
    171171                        else if (kc==219) k=String.fromCharCode(0);  // Ctrl-@
     172                        else k=String.fromCharCode(kc);
    172173                } else if (ev.which==0) {
    173174                        if (kc==9) k=String.fromCharCode(9);  // Tab
Note: See TracChangeset for help on using the changeset viewer.