aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-06-21 01:46:36 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-06-21 01:46:36 +0000
commit386849edc1d7d322d6a48d334f83298ff7cb5501 (patch)
tree2c0daf4ce5703466ef3f53333fd87e2a689dc33b /tmux.h
parente63f0546a166c442464c7d8500a74b38c036432a (diff)
downloadrtmux-386849edc1d7d322d6a48d334f83298ff7cb5501.tar.gz
rtmux-386849edc1d7d322d6a48d334f83298ff7cb5501.tar.bz2
rtmux-386849edc1d7d322d6a48d334f83298ff7cb5501.zip
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 10f3e593..c0d41383 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1799,6 +1799,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 *);