diff options
author | nicm <nicm> | 2019-08-14 09:58:31 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-08-14 09:58:31 +0000 |
commit | 0f243f03882671f19d35c9bd2decfc94919979fa (patch) | |
tree | 05436a488884f13a8c8b9910983a497580ac3c90 /tmux.h | |
parent | 45f4ff54850ff9b448070a96b33e63451f973e33 (diff) | |
download | rtmux-0f243f03882671f19d35c9bd2decfc94919979fa.tar.gz rtmux-0f243f03882671f19d35c9bd2decfc94919979fa.tar.bz2 rtmux-0f243f03882671f19d35c9bd2decfc94919979fa.zip |
Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
preserve zoomed state. GitHub issue 1839.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -922,6 +922,7 @@ struct window { #define WINDOW_ACTIVITY 0x2 #define WINDOW_SILENCE 0x4 #define WINDOW_ZOOMED 0x8 +#define WINDOW_WASZOOMED 0x10 #define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) int alerts_queued; @@ -2381,6 +2382,8 @@ struct window_pane *window_add_pane(struct window *, struct window_pane *, void window_resize(struct window *, u_int, u_int); int window_zoom(struct window_pane *); int window_unzoom(struct window *); +int window_push_zoom(struct window *, int); +int window_pop_zoom(struct window *); void window_lost_pane(struct window *, struct window_pane *); void window_remove_pane(struct window *, struct window_pane *); struct window_pane *window_pane_at_index(struct window *, u_int); |