From 33b62dcabc8d1fb05bab1c91c1e9d5ada98cc980 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 20 Nov 2018 10:42:17 +0530 Subject: [PATCH] Turn on the scrollback pager for all tests --- kitty_tests/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kitty_tests/__init__.py b/kitty_tests/__init__.py index 5ea7d3b3e..70c52c462 100644 --- a/kitty_tests/__init__.py +++ b/kitty_tests/__init__.py @@ -74,7 +74,9 @@ class BaseTest(TestCase): ae = TestCase.assertEqual 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)) set_options(options) c = Callbacks()