mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
terminal: handle size when switching buffers in window
This commit is contained in:
@@ -2678,6 +2678,10 @@ int do_ecmd(
|
||||
|
||||
|
||||
theend:
|
||||
if (bufref_valid(&old_curbuf) && old_curbuf.br_buf->terminal != NULL) {
|
||||
terminal_check_size(old_curbuf.br_buf->terminal);
|
||||
}
|
||||
|
||||
if (did_inc_redrawing_disabled) {
|
||||
RedrawingDisabled--;
|
||||
}
|
||||
|
Reference in New Issue
Block a user