version 1.124, 2020/04/16 15:14:25 |
version 1.125, 2020/04/17 09:06:10 |
|
|
key_code key; |
key_code key; |
}; |
}; |
static const struct tty_default_key_raw tty_default_raw_keys[] = { |
static const struct tty_default_key_raw tty_default_raw_keys[] = { |
|
/* Application escape. */ |
|
{ "\033O[", '\033' }, |
|
|
/* |
/* |
* Numeric keypad. Just use the vt100 escape sequences here and always |
* Numeric keypad. Just use the vt100 escape sequences here and always |
* put the terminal into keypad_xmit mode. Translation of numbers |
* put the terminal into keypad_xmit mode. Translation of numbers |
|
|
case 'M': /* mintty */ |
case 'M': /* mintty */ |
flags |= (TERM_256COLOURS|TERM_RGBCOLOURS); |
flags |= (TERM_256COLOURS|TERM_RGBCOLOURS); |
break; |
break; |
case 'T': /* tmux - if newer will have the DSR as well */ |
case 'T': /* tmux - new versons reply to DSR which will set RGB */ |
flags |= (TERM_UTF8|TERM_256COLOURS); |
flags |= (TERM_UTF8|TERM_256COLOURS); |
break; |
break; |
case 'U': /* rxvt-unicode */ |
case 'U': /* rxvt-unicode */ |