=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input-keys.c,v retrieving revision 1.47 retrieving revision 1.48 diff -c -r1.47 -r1.48 *** src/usr.bin/tmux/input-keys.c 2015/11/12 22:04:37 1.47 --- src/usr.bin/tmux/input-keys.c 2015/11/14 11:45:43 1.48 *************** *** 1,4 **** ! /* $OpenBSD: input-keys.c,v 1.47 2015/11/12 22:04:37 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input-keys.c,v 1.48 2015/11/14 11:45:43 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 169,175 **** return; } if (key != KEYC_NONE && justkey > 0x7f && justkey < KEYC_BASE) { ! if (utf8_split(justkey, &ud) != 0) return; if (key & KEYC_ESCAPE) bufferevent_write(wp->event, "\033", 1); --- 169,175 ---- return; } if (key != KEYC_NONE && justkey > 0x7f && justkey < KEYC_BASE) { ! if (utf8_split(justkey, &ud) != UTF8_DONE) return; if (key & KEYC_ESCAPE) bufferevent_write(wp->event, "\033", 1);