This commit is contained in:
Kovid Goyal 2018-05-26 09:39:53 +05:30
parent 997c244664
commit a42bc3bf8c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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