Allow panes to be 1 line or column by redrawing instead of using the

scroll region, from Soeren Tempel in GitHub issue 1487.
This commit is contained in:
nicm
2018-09-25 14:27:20 +00:00
parent 7bc6c105b7
commit 7d59f82cf9
3 changed files with 18 additions and 11 deletions

7
tmux.h
View File

@ -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