Extend the -t:+ and -t:- window targets for next and previous window to

accept an offset such as -t:+2. From Tiago Cunha.
This commit is contained in:
Nicholas Marriott
2010-06-21 01:46:36 +00:00
parent e63f0546a1
commit 386849edc1
4 changed files with 159 additions and 64 deletions

2
tmux.h
View File

@ -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 *);