mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Add a format to show if there are unseen changes while in a mode, from
Dan Aloni in GitHub issue 3498.
This commit is contained in:
4
input.c
4
input.c
@ -971,6 +971,10 @@ input_parse_buffer(struct window_pane *wp, u_char *buf, size_t len)
|
||||
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))
|
||||
screen_write_start_pane(sctx, wp, &wp->base);
|
||||
|
Reference in New Issue
Block a user