aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/input.c b/input.c
index b8a35b4e..34b8cf73 100644
--- a/input.c
+++ b/input.c
@@ -225,7 +225,9 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
} else if (sym == XKB_KEY_Escape){
write(term->ptmx, "\x1b", 1);
} else {
- char buf[128] = {0};
+ /* TODO: composing */
+
+ char buf[64] = {0};
int count = xkb_state_key_get_utf8(
term->kbd.xkb_state, key, buf, sizeof(buf));