diff options
author | 2010-06-21 01:46:36 +0000 | |
---|---|---|
committer | 2010-06-21 01:46:36 +0000 | |
commit | 1cabf2d50dd150e020a1e01f3c207af3fcf4e167 (patch) | |
tree | 177863571d62dab8796f58cd1b5b7826d35d48e5 /usr.bin/tmux/tmux.h | |
parent | Having a list of winlinks->alerts for each session is stupid, just store (diff) | |
download | wireguard-openbsd-1cabf2d50dd150e020a1e01f3c207af3fcf4e167.tar.xz wireguard-openbsd-1cabf2d50dd150e020a1e01f3c207af3fcf4e167.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 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 8a1601b448b..7bdf4e054ab 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.226 2010/06/21 01:27:46 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.227 2010/06/21 01:46:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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 *); |