mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-04 14:52:53 +00:00
more bugs
This commit is contained in:
parent
d344c391fd
commit
ab604fb149
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ def edge(func, os_window_id, tab_id, color, sz, a, b):
|
|||
def border(os_window_id, tab_id, color, sz, left, top, right, bottom):
|
||||
horz = edge(horizontal_edge, os_window_id, tab_id, color, sz, left, right)
|
||||
horz(top), horz(bottom - sz) # top, bottom edges
|
||||
vert = edge(vertical_edge, color, sz, top, bottom)
|
||||
vert = edge(vertical_edge, os_window_id, tab_id, color, sz, top, bottom)
|
||||
vert(left), vert(right - sz) # left, right edges
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ class Boss:
|
|||
self.opts, self.args = opts, args
|
||||
initialize_renderer()
|
||||
startup_session = create_session(opts, args)
|
||||
self.add_os_window(startup_session)
|
||||
self.add_os_window(startup_session, os_window_id=os_window_id)
|
||||
|
||||
def add_os_window(self, startup_session, os_window_id=None):
|
||||
if os_window_id is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue