mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -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:
5
putty.h
5
putty.h
@ -530,7 +530,8 @@ enum {
|
||||
FUNKY_XTERM,
|
||||
FUNKY_VT400,
|
||||
FUNKY_VT100P,
|
||||
FUNKY_SCO
|
||||
FUNKY_SCO,
|
||||
FUNKY_XTERM_216
|
||||
};
|
||||
|
||||
enum {
|
||||
@ -1947,7 +1948,7 @@ typedef enum SmallKeypadKey {
|
||||
int format_arrow_key(char *buf, Terminal *term, int xkey,
|
||||
bool shift, bool ctrl, bool alt, bool *consumed_alt);
|
||||
int format_function_key(char *buf, Terminal *term, int key_number,
|
||||
bool shift, bool ctrl);
|
||||
bool shift, bool ctrl, bool alt, bool *consumed_alt);
|
||||
int format_small_keypad_key(char *buf, Terminal *term, SmallKeypadKey key);
|
||||
int format_numeric_keypad_key(char *buf, Terminal *term, char key,
|
||||
bool shift, bool ctrl);
|
||||
|
Reference in New Issue
Block a user