defaults: scrollback=10000 (#7556)

This commit is contained in:
Justin M. Keyes 2017-11-14 20:55:25 +01:00 committed by GitHub
parent 30a21830d0
commit 67e4529292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -4789,7 +4789,7 @@ A jump table for the options with a short description can be found at |Q_op|.
height with ":set scroll=0".
*'scrollback'* *'scbk'*
'scrollback' 'scbk' number (default: 1000
'scrollback' 'scbk' number (default: 10000
in normal buffers: -1)
local to buffer
Maximum number of lines kept beyond the visible screen. Lines at the

View File

@ -1924,7 +1924,7 @@ return {
vi_def=true,
varname='p_scbk',
redraw={'current_buffer'},
defaults={if_true={vi=1000}}
defaults={if_true={vi=10000}}
},
{
full_name='scrollbind', abbreviation='scb',

View File

@ -462,10 +462,10 @@ describe("'scrollback' option", function()
screen:detach()
end)
it('defaults to 1000 in terminal buffers', function()
it('defaults to 10000 in terminal buffers', function()
set_fake_shell()
command('terminal')
eq(1000, curbufmeths.get_option('scrollback'))
eq(10000, curbufmeths.get_option('scrollback'))
end)
it('error if set to invalid value', function()