diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-09-10 13:36:17 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-09-10 13:36:17 +0000 |
commit | 89c07dedd9159e45c81a490a68f953b569d72f48 (patch) | |
tree | e83920668b0029c487e38ecf36eddaad06e70137 /tmux.h | |
parent | 28a0b6fd20cbd8834c8918836ed42a6765c4cdf0 (diff) | |
download | rtmux-89c07dedd9159e45c81a490a68f953b569d72f48.tar.gz rtmux-89c07dedd9159e45c81a490a68f953b569d72f48.tar.bz2 rtmux-89c07dedd9159e45c81a490a68f953b569d72f48.zip |
Sync OpenBSD patchset 759:
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 | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.575 2010-09-07 19:32:58 nicm Exp $ */ +/* $Id: tmux.h,v 1.576 2010-09-10 13:36:17 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1963,6 +1963,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( |