Rewrite xterm-keys code (both input and output) so that works (doesn't always

output the same modifiers, accepts all the possible input keys) and is more
understandable.
This commit is contained in:
Nicholas Marriott
2009-10-26 17:46:33 +00:00
parent c92c2bfb10
commit fd2ef18a70
5 changed files with 226 additions and 1 deletions

4
tmux.h
View File

@ -1642,6 +1642,10 @@ void input_parse(struct window_pane *);
void input_key(struct window_pane *, int);
void input_mouse(struct window_pane *, struct mouse_event *);
/* xterm-keys.c */
char *xterm_keys_lookup(int);
int xterm_keys_find(const char *, size_t, size_t *);
/* colour.c */
void colour_set_fg(struct grid_cell *, int);
void colour_set_bg(struct grid_cell *, int);