]> git.proxmox.com Git - mirror_xterm.js.git/commit
Fix third level shifts for Mac OS and windows
authorrunarberg <runar@greenqloud.com>
Wed, 1 Jun 2016 17:06:57 +0000 (17:06 +0000)
committerrunarberg <runar@greenqloud.com>
Fri, 10 Jun 2016 16:14:31 +0000 (16:14 +0000)
commitb01165c1f8fc15415ea30b5e1c00278fb230cf13
tree3753b651bf868ee91022fc03a3096c7ff9bdb6c5
parentb5d9c6b11364577a265b9a7a43b88f0fc886907d
Fix third level shifts for Mac OS and windows

ISO third level keys were not working. That prevented some inputting
important characters (like pipe `|` and caret `^`) on some keyboard
layouts.

Instead of parsing the user-agent string to find the users os, we now
look into the `platform` attribute of the `navigator` object.

Removed the hijacking of the command key `⌘` on Mac OS as the `Alt` key
on other systems.
src/xterm.js
test/test.js