Add a function to create window flags rather than doing the same thing

in two places. From Thomas Adam.
This commit is contained in:
Nicholas Marriott
2010-12-30 21:35:17 +00:00
parent f7c42c21ba
commit 2231e72968
4 changed files with 36 additions and 32 deletions

2
tmux.h
View File

@ -1898,6 +1898,8 @@ void window_pane_mouse(struct window_pane *,
int window_pane_visible(struct window_pane *);
char *window_pane_search(
struct window_pane *, const char *, u_int *);
char *window_printable_flags(struct session *, struct winlink *);
struct window_pane *window_pane_find_up(struct window_pane *);
struct window_pane *window_pane_find_down(struct window_pane *);
struct window_pane *window_pane_find_left(struct window_pane *);