mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Fix resizing of control clients, should be ignored until SIZECHANGED flag set.
This commit is contained in:
@ -222,9 +222,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
|
||||
if (!detached && !is_control) {
|
||||
sx = c->tty.sx;
|
||||
sy = c->tty.sy;
|
||||
if (!is_control &&
|
||||
sy > 0 &&
|
||||
options_get_number(global_s_options, "status"))
|
||||
if (sy > 0 && options_get_number(global_s_options, "status"))
|
||||
sy--;
|
||||
} else {
|
||||
value = options_get_string(global_s_options, "default-size");
|
||||
|
Reference in New Issue
Block a user