Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2015-11-14 12:01:09 +00:00
7 changed files with 83 additions and 90 deletions

View File

@ -168,7 +168,7 @@ input_key(struct window_pane *wp, key_code key, struct mouse_event *m)
return;
}
if (key != KEYC_NONE && justkey > 0x7f && justkey < KEYC_BASE) {
if (utf8_split(justkey, &ud) != 0)
if (utf8_split(justkey, &ud) != UTF8_DONE)
return;
if (key & KEYC_ESCAPE)
bufferevent_write(wp->event, "\033", 1);