aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-12 11:05:34 +0000
committernicm <nicm>2015-11-12 11:05:34 +0000
commit69e0b8326ad0a983759518b90ed8632146341acf (patch)
tree03f69cf9a96b5e87b760243cc535878940bc7a02 /window.c
parent7062b0e65dcbb94bb190f6c50f4089b2ea6278bb (diff)
downloadrtmux-69e0b8326ad0a983759518b90ed8632146341acf.tar.gz
rtmux-69e0b8326ad0a983759518b90ed8632146341acf.tar.bz2
rtmux-69e0b8326ad0a983759518b90ed8632146341acf.zip
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 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index 49408297..c5f9f176 100644
--- a/window.c
+++ b/window.c
@@ -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;