mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
terminal: Account for number column (#5310)
This commit is contained in:
@@ -1466,7 +1466,7 @@ void enter_buffer(buf_T *buf)
|
||||
|
||||
if (buf->terminal) {
|
||||
terminal_resize(buf->terminal,
|
||||
(uint16_t)curwin->w_width,
|
||||
(uint16_t)(MAX(0, curwin->w_width - win_col_off(curwin))),
|
||||
(uint16_t)curwin->w_height);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user