Add a format window_linked which is 1 if a window has been linked
authornicm <nicm@openbsd.org>
Wed, 6 May 2015 08:35:39 +0000 (08:35 +0000)
committernicm <nicm@openbsd.org>
Wed, 6 May 2015 08:35:39 +0000 (08:35 +0000)
commitc8f8381c99a5e3696504791d96fe5ea2f074476d
treeea5afe207689771802282c502e6e6756fa133aac
parentfaf20974a3f0389b408bbf95b731804e98497576
Add a format window_linked which is 1 if a window has been linked
multiple times, also remove the default space in window_flags and use a
conditional to add it in window-status-format (this means additional
flags can be added in the option without extra spaces). From Thomas Adam
with tweaks by me.
usr.bin/tmux/cmd-kill-window.c
usr.bin/tmux/format.c
usr.bin/tmux/options-table.c
usr.bin/tmux/session.c
usr.bin/tmux/tmux.1
usr.bin/tmux/tmux.h
usr.bin/tmux/window.c