=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input-keys.c,v retrieving revision 1.63 retrieving revision 1.64 diff -c -r1.63 -r1.64 *** src/usr.bin/tmux/input-keys.c 2018/10/18 08:38:01 1.63 --- src/usr.bin/tmux/input-keys.c 2019/07/09 14:03:12 1.64 *************** *** 1,4 **** ! /* $OpenBSD: input-keys.c,v 1.63 2018/10/18 08:38:01 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input-keys.c,v 1.64 2019/07/09 14:03:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 170,175 **** --- 170,182 ---- if (KEYC_IS_MOUSE(key)) { if (m != NULL && m->wp != -1 && (u_int)m->wp == wp->id) input_key_mouse(wp, m); + return; + } + + /* Literal keys go as themselves (can't be more than eight bits). */ + if (key & KEYC_LITERAL) { + ud.data[0] = (u_char)key; + bufferevent_write(wp->event, &ud.data[0], 1); return; }