mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 19:41:01 -05:00
New function-key mode similar to modern xterm.
This is the same as the previous FUNKY_XTERM mode if you don't press any modifier keys, but now Shift or Ctrl or Alt with function keys adds an extra bitmap parameter. The bitmaps are the same as the ones used by the new SHARROW_BITMAP arrow key mode.
This commit is contained in:
12
config.c
12
config.c
@ -2010,12 +2010,18 @@ void setup_config_box(struct controlbox *b, bool midsession,
|
||||
conf_radiobutton_bool_handler,
|
||||
I(CONF_rxvt_homeend),
|
||||
"Standard", I(false), "rxvt", I(true), NULL);
|
||||
ctrl_radiobuttons(s, "The Function keys and keypad", 'f', 3,
|
||||
ctrl_radiobuttons(s, "The Function keys and keypad", 'f', 4,
|
||||
HELPCTX(keyboard_funkeys),
|
||||
conf_radiobutton_handler,
|
||||
I(CONF_funky_type),
|
||||
"ESC[n~", I(0), "Linux", I(1), "Xterm R6", I(2),
|
||||
"VT400", I(3), "VT100+", I(4), "SCO", I(5), NULL);
|
||||
"ESC[n~", I(FUNKY_TILDE),
|
||||
"Linux", I(FUNKY_LINUX),
|
||||
"Xterm R6", I(FUNKY_XTERM),
|
||||
"VT400", I(FUNKY_VT400),
|
||||
"VT100+", I(FUNKY_VT100P),
|
||||
"SCO", I(FUNKY_SCO),
|
||||
"Xterm 216+", I(FUNKY_XTERM_216),
|
||||
NULL);
|
||||
ctrl_radiobuttons(s, "Shift/Ctrl/Alt with the arrow keys", 'w', 2,
|
||||
HELPCTX(keyboard_sharrow),
|
||||
conf_radiobutton_handler,
|
||||
|
Reference in New Issue
Block a user