Support to read meta+tab from keyboard

This commit is contained in:
Markus Gans 2016-07-17 20:30:00 +02:00
parent 75b6ac477e
commit c16d3dc3c5
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2016-07-16 Markus Gans <guru.mail@muenster.de>
* Support to read meta+tab from keyboard
2016-07-16 Markus Gans <guru.mail@muenster.de> 2016-07-16 Markus Gans <guru.mail@muenster.de>
* Switch to a specific dialog with meta key + 1..9 * Switch to a specific dialog with meta key + 1..9
* Add more meta key escape sequences (for putty) * Add more meta key escape sequences (for putty)

View File

@ -509,6 +509,7 @@ class fc
Fkey_extended_mouse = 0x2000021, // SGR extended mouse Fkey_extended_mouse = 0x2000021, // SGR extended mouse
Fkey_urxvt_mouse = 0x2000022, // urxvt mouse extension Fkey_urxvt_mouse = 0x2000022, // urxvt mouse extension
Fmkey_meta = 0x20000e0, // meta key offset Fmkey_meta = 0x20000e0, // meta key offset
Fmkey_tab = 0x20000e9, // M-tab
Fmkey_space = 0x2000100, // M-' ' Fmkey_space = 0x2000100, // M-' '
Fmkey_bang = 0x2000101, // M-! Fmkey_bang = 0x2000101, // M-!
Fmkey_quotes = 0x2000102, // M-" Fmkey_quotes = 0x2000102, // M-"

View File

@ -325,6 +325,7 @@ static metakeymap Fmetakey[] =
{ fc::Fcmkey_menu , "\033[29;7~" }, // ctrl-M-menu { fc::Fcmkey_menu , "\033[29;7~" }, // ctrl-M-menu
{ fc::Fcmkey_smenu , "\033[29;8~" }, // shift-ctrl-M-menu { fc::Fcmkey_smenu , "\033[29;8~" }, // shift-ctrl-M-menu
{ fc::Fkey_escape_mintty , "\033O["}, // mintty Esc { fc::Fkey_escape_mintty , "\033O["}, // mintty Esc
{ fc::Fmkey_tab , "\033\t"}, // M-tab
{ fc::Fmkey_space , "\033 " }, // M-' ' { fc::Fmkey_space , "\033 " }, // M-' '
{ fc::Fmkey_bang , "\033!" }, // M-! { fc::Fmkey_bang , "\033!" }, // M-!
{ fc::Fmkey_quotes , "\033\""}, // M-" { fc::Fmkey_quotes , "\033\""}, // M-"
@ -724,6 +725,7 @@ static keyname FkeyName[] =
{ fc::Fmkey_smenu , "Shift+Meta+Menu" }, { fc::Fmkey_smenu , "Shift+Meta+Menu" },
{ fc::Fcmkey_menu , "Ctrl+Meta+Menu" }, { fc::Fcmkey_menu , "Ctrl+Meta+Menu" },
{ fc::Fcmkey_smenu , "Shift+Ctrl+Meta+Menu" }, { fc::Fcmkey_smenu , "Shift+Ctrl+Meta+Menu" },
{ fc::Fmkey_tab , "Meta+Tab" },
{ fc::Fmkey_space , "Meta+Space" }, { fc::Fmkey_space , "Meta+Space" },
{ fc::Fmkey_bang , "Meta+!" }, { fc::Fmkey_bang , "Meta+!" },
{ fc::Fmkey_quotes , "Meta+\"" }, { fc::Fmkey_quotes , "Meta+\"" },