=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-send-keys.c,v retrieving revision 1.68 retrieving revision 1.69 diff -c -r1.68 -r1.69 *** src/usr.bin/tmux/cmd-send-keys.c 2021/08/21 10:22:39 1.68 --- src/usr.bin/tmux/cmd-send-keys.c 2021/10/05 12:49:37 1.69 *************** *** 1,4 **** ! /* $OpenBSD: cmd-send-keys.c,v 1.68 2021/08/21 10:22:39 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-send-keys.c,v 1.69 2021/10/05 12:49:37 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 200,205 **** --- 200,211 ---- colour_palette_clear(&wp->palette); input_reset(wp->ictx, 1); wp->flags |= (PANE_STYLECHANGED|PANE_REDRAW); + } + + if (count == 0) { + for (; np != 0; np--) + cmd_send_keys_inject_key(item, NULL, event->key); + return (CMD_RETURN_NORMAL); } for (; np != 0; np--) {