From a42bc3bf8cf16bef40e715228813eb5d7a228f48 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 26 May 2018 09:39:53 +0530 Subject: [PATCH] oops --- kitty/tabs.py | 2 +- kitty/window.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index 04b540c3a..d731fa52c 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -311,7 +311,7 @@ class TabBar: # {{{ self.data_buffer_size = 0 self.laid_out_once = False self.dirty = True - self.screen = s = Screen(None, 1, 10, 0, 0, self.cell_width, cell_height) + self.screen = s = Screen(None, 1, 10, 0, self.cell_width, cell_height) s.color_profile.update_ansi_color_table(build_ansi_color_table(opts)) s.color_profile.set_configured_colors( color_as_int(opts.inactive_tab_foreground), diff --git a/kitty/window.py b/kitty/window.py index 63ee02f8e..e2d947569 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -111,7 +111,7 @@ class Window: self.is_visible_in_layout = True self.child, self.opts = child, opts cell_width, cell_height = cell_size_for_window(self.os_window_id) - self.screen = Screen(self, 24, 80, opts.scrollback_lines, self.id, cell_width, cell_height) + self.screen = Screen(self, 24, 80, opts.scrollback_lines, cell_width, cell_height, self.id) setup_colors(self.screen, opts) @property