From a22a6deda500945b13687997f09279d62e91e0e8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 8 Sep 2010 22:02:28 +0000 Subject: 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". --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') 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( -- cgit