Work>work chooses its own task and merges from the interface; panes find their tools; shell follows the project folder
This commit is contained in:
@@ -157,6 +157,14 @@ def arrange(order, session=None):
|
||||
return moved
|
||||
|
||||
|
||||
def window_cwd(name, session=None):
|
||||
"""The working directory of a named pane, as TUIOS reports it."""
|
||||
for w in windows(session):
|
||||
if (w.get("custom_name") or "") == name:
|
||||
return w.get("cwd") or ""
|
||||
return ""
|
||||
|
||||
|
||||
def close_pane(name, session=None):
|
||||
for w in windows(session):
|
||||
if (w.get("custom_name") or "") == name:
|
||||
|
||||
Reference in New Issue
Block a user