aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-05-06 08:35:39 +0000
committernicm <nicm>2015-05-06 08:35:39 +0000
commit31b1ab48521b4b608d87abd5413441905da84da8 (patch)
treed5ea932dbadd29eb8dfc940af46cde28f51a8dca /tmux.h
parent33a585c47fcceb55e79a67a5fc47902d6992e68d (diff)
downloadrtmux-31b1ab48521b4b608d87abd5413441905da84da8.tar.gz
rtmux-31b1ab48521b4b608d87abd5413441905da84da8.tar.bz2
rtmux-31b1ab48521b4b608d87abd5413441905da84da8.zip
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index b315114e..83b6e4a8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2328,6 +2328,7 @@ struct winlink *session_attach(struct session *, struct window *, int,
char **);
int session_detach(struct session *, struct winlink *);
int session_has(struct session *, struct window *);
+int session_is_linked(struct session *, struct window *);
int session_next(struct session *, int);
int session_previous(struct session *, int);
int session_select(struct session *, int);