When using choose-tree -u, start with the current window

highlighted. From Thomas Adam.
This commit is contained in:
Nicholas Marriott
2013-04-22 22:17:29 +00:00
parent 04f54ab38f
commit 3d2b7d5bce
3 changed files with 17 additions and 4 deletions

2
tmux.h
View File

@ -2257,6 +2257,8 @@ struct window_choose_data *window_choose_add_item(struct window_pane *,
struct client *, struct winlink *, const char *,
const char *, u_int);
void window_choose_expand_all(struct window_pane *);
void window_choose_collapse_all(struct window_pane *);
void window_choose_set_current(struct window_pane *, u_int);
/* names.c */
void queue_window_name(struct window *);