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:
Sam
2026-11-11 12:02:12 +11:00
parent 678c497064
commit 7198c34e42
13 changed files with 441 additions and 15 deletions

View File

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