mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
terminal: handle size when switching buffers in window
This commit is contained in:
@@ -1472,6 +1472,10 @@ void set_curbuf(buf_T *buf, int action)
|
||||
if (old_tw != curbuf->b_p_tw)
|
||||
check_colorcolumn(curwin);
|
||||
}
|
||||
|
||||
if (bufref_valid(&prevbufref) && prevbuf->terminal != NULL) {
|
||||
terminal_check_size(prevbuf->terminal);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user