diff options
| author | Sam Wilson <sawilson@akamai.com> | 2017-10-25 11:18:47 -0400 | 
|---|---|---|
| committer | Sam Wilson <sawilson@akamai.com> | 2017-10-27 17:59:54 -0400 | 
| commit | b8a67551d8360ba095d1ffdbc9f8c40b612e9320 (patch) | |
| tree | bdb65764141d727e709a7c4d04a65f0dde271e18 /src/nvim/buffer.c | |
| parent | f0c2f82e90046487a8c12c10ca6c8da23470ef09 (diff) | |
| download | rneovim-b8a67551d8360ba095d1ffdbc9f8c40b612e9320.tar.gz rneovim-b8a67551d8360ba095d1ffdbc9f8c40b612e9320.tar.bz2 rneovim-b8a67551d8360ba095d1ffdbc9f8c40b612e9320.zip | |
terminal: Account for number column (#5310)
Diffstat (limited to 'src/nvim/buffer.c')
| -rw-r--r-- | src/nvim/buffer.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index fc5bb90973..9d42fbc1b3 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -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);    } | 
