diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-06-22 23:29:05 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-06-22 23:29:05 +0000 |
commit | 8d3b726396d3f5124d31a792a5f3358357f2e105 (patch) | |
tree | b806d76a5a0c4aa3aef66b1435dad31507d2169e /tmux.h | |
parent | 47b335dee7e794135e03cc0f5806483e55572b9f (diff) | |
download | rtmux-8d3b726396d3f5124d31a792a5f3358357f2e105.tar.gz rtmux-8d3b726396d3f5124d31a792a5f3358357f2e105.tar.bz2 rtmux-8d3b726396d3f5124d31a792a5f3358357f2e105.zip |
Sync OpenBSD patchset 725:
Extend the -t:+ and -t:- window targets for next and previous window to
accept an offset such as -t:+2. From Tiago Cunha.
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.562 2010-06-22 23:26:18 tcunha Exp $ */ +/* $Id: tmux.h,v 1.563 2010-06-22 23:29:05 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1798,6 +1798,8 @@ struct winlink *winlink_add(struct winlinks *, struct window *, int); void winlink_remove(struct winlinks *, struct winlink *); struct winlink *winlink_next(struct winlink *); struct winlink *winlink_previous(struct winlink *); +struct winlink *winlink_next_by_number(struct winlink *, int); +struct winlink *winlink_previous_by_number(struct winlink *, int); void winlink_stack_push(struct winlink_stack *, struct winlink *); void winlink_stack_remove(struct winlink_stack *, struct winlink *); int window_index(struct window *, u_int *); |