mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Turn on the scrollback pager for all tests
This commit is contained in:
@@ -74,7 +74,9 @@ class BaseTest(TestCase):
|
|||||||
ae = TestCase.assertEqual
|
ae = TestCase.assertEqual
|
||||||
maxDiff = 2000
|
maxDiff = 2000
|
||||||
|
|
||||||
def create_screen(self, cols=5, lines=5, scrollback=5, cell_width=10, cell_height=20, options={}):
|
def create_screen(self, cols=5, lines=5, scrollback=5, cell_width=10, cell_height=20, options=None):
|
||||||
|
if options is None:
|
||||||
|
options = {'scrollback_pager_history_size': 1024}
|
||||||
options = Options(merge_configs(defaults._asdict(), options))
|
options = Options(merge_configs(defaults._asdict(), options))
|
||||||
set_options(options)
|
set_options(options)
|
||||||
c = Callbacks()
|
c = Callbacks()
|
||||||
|
|||||||
Reference in New Issue
Block a user