diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-09-08 22:02:28 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-09-08 22:02:28 +0000 |
commit | a22a6deda500945b13687997f09279d62e91e0e8 (patch) | |
tree | 1439108eb46e166fcd1571c1a2dde87f3dba855e /tmux.h | |
parent | bbf743769bf0e71dbd6c0cc96aa6817662b939e1 (diff) | |
download | rtmux-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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( |