diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-01-27 14:15:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-27 14:15:08 +0100 |
commit | 8171e96b9640c54eb67a8e5d1082f1fd6e794f23 (patch) | |
tree | 7ef2ee67b4328b7e5478a74bfccc6d5ec6eb8d38 /src/nvim/option.c | |
parent | f2398a766e094d74ab19f3037872abbc97c16728 (diff) | |
parent | de16c0bf6445f92f2b6e92ba3253d581e5562178 (diff) | |
download | rneovim-8171e96b9640c54eb67a8e5d1082f1fd6e794f23.tar.gz rneovim-8171e96b9640c54eb67a8e5d1082f1fd6e794f23.tar.bz2 rneovim-8171e96b9640c54eb67a8e5d1082f1fd6e794f23.zip |
Merge pull request #9551 from bfredl/multiterm
Fix :terminal resizing, and some multigrid size cleanup
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 6b1c5c998f..88401d3974 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -4339,7 +4339,7 @@ static char *set_num_option(int opt_idx, char_u *varp, long value, } else if (pp == &curbuf->b_p_scbk || pp == &p_scbk) { if (curbuf->terminal) { // Force the scrollback to take effect. - terminal_resize(curbuf->terminal, UINT16_MAX, UINT16_MAX); + terminal_check_size(curbuf->terminal); } } else if (pp == &curwin->w_p_nuw) { curwin->w_nrwidth_line_count = 0; |