mirror of
https://github.com/vim/vim.git
synced 2025-10-12 06:44:06 -04:00
patch 9.1.0808: Terminal scrollback doesn't shrink when decreasing 'termwinscroll'
Problem: Terminal scrollback doesn't shrink when reducing 'termwinscroll' Solution: Check if option value was decreased (Milly). closes: #15904 Signed-off-by: Milly <milly.ca@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3e5bbb8e11
commit
6d5f4a0bed
@@ -2563,7 +2563,7 @@ static struct vimoption options[] =
|
||||
SCTX_INIT},
|
||||
{"termwinscroll", "twsl", P_NUM|P_VI_DEF|P_VIM|P_RBUF,
|
||||
#ifdef FEAT_TERMINAL
|
||||
(char_u *)&p_twsl, PV_TWSL, NULL, NULL,
|
||||
(char_u *)&p_twsl, PV_TWSL, did_set_termwinscroll, NULL,
|
||||
{(char_u *)10000L, (char_u *)10000L}
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE, NULL, NULL,
|
||||
|
Reference in New Issue
Block a user