aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-09-08 22:02:28 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-09-08 22:02:28 +0000
commita22a6deda500945b13687997f09279d62e91e0e8 (patch)
tree1439108eb46e166fcd1571c1a2dde87f3dba855e /tmux.h
parentbbf743769bf0e71dbd6c0cc96aa6817662b939e1 (diff)
downloadrtmux-a22a6deda500945b13687997f09279d62e91e0e8.tar.gz
rtmux-a22a6deda500945b13687997f09279d62e91e0e8.tar.bz2
rtmux-a22a6deda500945b13687997f09279d62e91e0e8.zip
Add -n and -p flags to switch-client to move to the next and previous
session (yes, it doesn't match window/pane, but so what, nor does switch-client). Based on a diff long ago from "edsouza".
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index a68bd0ea..34274b50 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1965,6 +1965,8 @@ struct session *session_create(const char *, const char *, const char *,
char **);
void session_destroy(struct session *);
int session_index(struct session *, u_int *);
+struct session *session_next_session(struct session *);
+struct session *session_previous_session(struct session *);
struct winlink *session_new(struct session *,
const char *, const char *, const char *, int, char **);
struct winlink *session_attach(