=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.213 retrieving revision 1.214 diff -c -r1.213 -r1.214 *** src/usr.bin/tmux/input.c 2023/01/03 11:43:24 1.213 --- src/usr.bin/tmux/input.c 2023/03/27 08:47:57 1.214 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.213 2023/01/03 11:43:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.214 2023/03/27 08:47:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 970,975 **** --- 970,979 ---- window_update_activity(wp->window); wp->flags |= PANE_CHANGED; + + /* Flag new input while in a mode. */ + if (!TAILQ_EMPTY(&wp->modes)) + wp->flags |= PANE_UNSEENCHANGES; /* NULL wp if there is a mode set as don't want to update the tty. */ if (TAILQ_EMPTY(&wp->modes))