mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 07:04:32 +02:00
+ ToggleMenuView
* Start of hotkeys for menus * General menu cleanup & rework
This commit is contained in:
parent
10d8812300
commit
028c5be418
10 changed files with 172 additions and 9 deletions
|
@ -17,12 +17,18 @@ exports.Client = Client;
|
|||
//var ANSI_CONTROL_REGEX = /(?:(?:\u001b\[)|\u009b)(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\u001b[A-M]/g;
|
||||
|
||||
// :TODO: Move all of the key stuff to it's own module
|
||||
|
||||
//
|
||||
// Resources & Standards:
|
||||
// * http://www.ansi-bbs.org/ansi-bbs-core-server.html
|
||||
//
|
||||
var ANSI_KEY_NAME_MAP = {
|
||||
0x08 : 'backspace',
|
||||
0x09 : 'tab',
|
||||
0x08 : 'backspace', // BS
|
||||
0x09 : 'tab', //
|
||||
0x7f : 'del',
|
||||
0x1b : 'esc',
|
||||
0x0d : 'enter',
|
||||
0x19 : 'end of medium', // EM / CTRL-Y
|
||||
};
|
||||
|
||||
var ANSI_KEY_CSI_NAME_MAP = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue