version 1.55, 2016/03/02 15:33:36 |
version 1.56, 2016/10/03 22:52:11 |
|
|
* direction with output). |
* direction with output). |
*/ |
*/ |
|
|
void input_key_mouse(struct window_pane *, struct mouse_event *); |
static void input_key_mouse(struct window_pane *, struct mouse_event *); |
|
|
struct input_key_ent { |
struct input_key_ent { |
key_code key; |
key_code key; |
|
|
#define INPUTKEY_CURSOR 0x2 /* cursor key */ |
#define INPUTKEY_CURSOR 0x2 /* cursor key */ |
}; |
}; |
|
|
const struct input_key_ent input_keys[] = { |
static const struct input_key_ent input_keys[] = { |
/* Backspace key. */ |
/* Backspace key. */ |
{ KEYC_BSPACE, "\177", 0 }, |
{ KEYC_BSPACE, "\177", 0 }, |
|
|
|
|
} |
} |
|
|
/* Translate mouse and output. */ |
/* Translate mouse and output. */ |
void |
static void |
input_key_mouse(struct window_pane *wp, struct mouse_event *m) |
input_key_mouse(struct window_pane *wp, struct mouse_event *m) |
{ |
{ |
char buf[40]; |
char buf[40]; |