From 508e2f0b3aaf2db9b692863738e7ca75765fc70c Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 28 Feb 2018 08:55:44 +0000 Subject: 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. --- server-fn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'server-fn.c') diff --git a/server-fn.c b/server-fn.c index 713e85b7..ef96bf58 100644 --- a/server-fn.c +++ b/server-fn.c @@ -455,8 +455,6 @@ server_set_stdin_callback(struct client *c, void (*cb)(struct client *, int, void server_unzoom_window(struct window *w) { - if (window_unzoom(w) == 0) { + if (window_unzoom(w) == 0) server_redraw_window(w); - server_status_window(w); - } } -- cgit