diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-11-12 11:05:35 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-11-12 11:05:35 +0000 |
commit | 20f6207593e62301ba0f186da1d7bbeb044235b0 (patch) | |
tree | e34a1a7ad697f277e38d1c35b0b0f8021e23b5d2 /usr.bin/tmux/window.c | |
parent | 6862e18a11881fe497835b38691ca1f103519e90 (diff) |
Support UTF-8 key bindings by expanding the key type from int to
uint64_t and converting UTF-8 to Unicode on input and the reverse on
output. (This allows key bindings, there are still omissions - the
largest being that the various prompts do not accept UTF-8.)
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r-- | usr.bin/tmux/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index d53ef86d9cd..a5de38a939d 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.147 2015/10/31 08:13:58 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.148 2015/11/12 11:05:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1102,7 +1102,7 @@ window_pane_reset_mode(struct window_pane *wp) void window_pane_key(struct window_pane *wp, struct client *c, struct session *s, - int key, struct mouse_event *m) + key_code key, struct mouse_event *m) { struct window_pane *wp2; |