Fix launching a new tab when there is no OS window
This commit is contained in:
parent
a2269cb66e
commit
ddfda3efde
@ -1826,6 +1826,8 @@ class Boss:
|
|||||||
self._create_tab(list(args), cwd_from=cwd_from)
|
self._create_tab(list(args), cwd_from=cwd_from)
|
||||||
|
|
||||||
def new_tab_with_wd(self, wd: str) -> None:
|
def new_tab_with_wd(self, wd: str) -> None:
|
||||||
|
if not self.os_window_map:
|
||||||
|
self.add_os_window()
|
||||||
special_window = SpecialWindow(None, cwd=wd)
|
special_window = SpecialWindow(None, cwd=wd)
|
||||||
self._new_tab(special_window)
|
self._new_tab(special_window)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user