mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
more bugs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user