aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2018-09-25 14:27:20 +0000
committernicm <nicm>2018-09-25 14:27:20 +0000
commit7d59f82cf96a91ac560d06aef0fe5c8880cf2244 (patch)
treece343d62d48bc9bf2a3dd98bc646f2218057d0a1 /tmux.h
parent7bc6c105b7565441e8b32f4f77099cb5c3274611 (diff)
downloadrtmux-7d59f82cf96a91ac560d06aef0fe5c8880cf2244.tar.gz
rtmux-7d59f82cf96a91ac560d06aef0fe5c8880cf2244.tar.bz2
rtmux-7d59f82cf96a91ac560d06aef0fe5c8880cf2244.zip
Allow panes to be 1 line or column by redrawing instead of using the
scroll region, from Soeren Tempel in GitHub issue 1487.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index e95febf8..4e070249 100644
--- a/tmux.h
+++ b/tmux.h
@@ -59,11 +59,8 @@ struct tmuxproc;
/* Default global configuration file. */
#define TMUX_CONF "/etc/tmux.conf"
-/*
- * Minimum layout cell size, NOT including separator line. The scroll region
- * cannot be one line in height so this must be at least two.
- */
-#define PANE_MINIMUM 2
+/* Minimum layout cell size, NOT including border lines. */
+#define PANE_MINIMUM 1
/* Automatic name refresh interval, in microseconds. Must be < 1 second. */
#define NAME_INTERVAL 500000