aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2018-02-28 08:55:44 +0000
committernicm <nicm>2018-02-28 08:55:44 +0000
commit508e2f0b3aaf2db9b692863738e7ca75765fc70c (patch)
tree4c956b3d1a1b43d9484637f4103dae036c1f1fe2 /tmux.h
parent4d72b8fff7dfc170268af5a4c5323a8d9b815f74 (diff)
downloadrtmux-508e2f0b3aaf2db9b692863738e7ca75765fc70c.tar.gz
rtmux-508e2f0b3aaf2db9b692863738e7ca75765fc70c.tar.bz2
rtmux-508e2f0b3aaf2db9b692863738e7ca75765fc70c.zip
Add -Z flag to choose-tree, choose-client, choose-buffer to
automatically zoom the pane when the mode is entered and unzoom when it exits, assuming the pane is not already zoomed. Add -Z to the default key bindings.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 88a223e6..d7b9f334 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2247,6 +2247,7 @@ void mode_tree_down(struct mode_tree_data *, int);
struct mode_tree_data *mode_tree_start(struct window_pane *, struct args *,
mode_tree_build_cb, mode_tree_draw_cb, mode_tree_search_cb,
void *, const char **, u_int, struct screen **);
+void mode_tree_zoom(struct mode_tree_data *, struct args *);
void mode_tree_build(struct mode_tree_data *);
void mode_tree_free(struct mode_tree_data *);
void mode_tree_resize(struct mode_tree_data *, u_int, u_int);