mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add window_last_flag and window_zoomed_flag. From John Morrissey.
This commit is contained in:
5
format.c
5
format.c
@ -494,7 +494,10 @@ format_winlink(struct format_tree *ft, struct session *s, struct winlink *wl)
|
||||
!!(wl->flags & WINLINK_ACTIVITY));
|
||||
format_add(ft, "window_silence_flag", "%u",
|
||||
!!(wl->flags & WINLINK_SILENCE));
|
||||
|
||||
format_add(ft, "window_last_flag", "%u",
|
||||
!!(wl == TAILQ_FIRST(&s->lastw)));
|
||||
format_add(ft, "window_zoomed_flag", "%u",
|
||||
!!(wl->flags & WINDOW_ZOOMED));
|
||||
|
||||
free(flags);
|
||||
}
|
||||
|
Reference in New Issue
Block a user