mirror of
https://github.com/tmate-io/tmate.git
synced 2025-06-20 09:37:53 +02:00
Whoops, this is needed for last commit as well.
This commit is contained in:
parent
38f64b3da3
commit
b92fcf23fd
9
tmux.h
9
tmux.h
@ -98,17 +98,20 @@ extern char **environ;
|
|||||||
#define BELL_ANY 1
|
#define BELL_ANY 1
|
||||||
#define BELL_CURRENT 2
|
#define BELL_CURRENT 2
|
||||||
|
|
||||||
/* Key codes. ncurses defines KEY_*. Grrr. */
|
/* Special key codes. */
|
||||||
#define KEYC_NONE 0xfff
|
#define KEYC_NONE 0xfff
|
||||||
/* 0x1000 is base for special keys */
|
#define KEYC_BASE 0x1000
|
||||||
|
|
||||||
|
/* Key modifier bits. */
|
||||||
#define KEYC_ESCAPE 0x2000
|
#define KEYC_ESCAPE 0x2000
|
||||||
#define KEYC_CTRL 0x4000
|
#define KEYC_CTRL 0x4000
|
||||||
#define KEYC_SHIFT 0x8000
|
#define KEYC_SHIFT 0x8000
|
||||||
#define KEYC_PREFIX 0x10000
|
#define KEYC_PREFIX 0x10000
|
||||||
|
|
||||||
|
/* Other key codes. */
|
||||||
enum key_code {
|
enum key_code {
|
||||||
/* Mouse key. */
|
/* Mouse key. */
|
||||||
KEYC_MOUSE = 0x1000,
|
KEYC_MOUSE = KEYC_BASE,
|
||||||
|
|
||||||
/* Backspace key. */
|
/* Backspace key. */
|
||||||
KEYC_BSPACE,
|
KEYC_BSPACE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user