When running kittens use the last reported cwd when at a prompt

This commit is contained in:
Kovid Goyal 2026-03-27 09:09:30 +05:30
parent 203ea700f4
commit e8461b2a9f
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -2302,7 +2302,7 @@ class Boss:
cmd + args,
stdin=data,
env=env,
cwd=w.cwd_of_child,
cwd=CwdRequest(w).cwd_of_child or w.cwd_of_child,
overlay_for=w.id,
overlay_behind=end_kitten.has_ready_notification,
),