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:
nicm
2023-03-27 08:47:57 +00:00
parent d73078838d
commit c21af7e446
5 changed files with 22 additions and 0 deletions

View File

@ -1120,6 +1120,7 @@ window_pane_reset_mode(struct window_pane *wp)
next = TAILQ_FIRST(&wp->modes);
if (next == NULL) {
wp->flags &= ~PANE_UNSEENCHANGES;
log_debug("%s: no next mode", __func__);
wp->screen = &wp->base;
} else {