From e8461b2a9f401888895d147d997f7d31fb05c219 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 27 Mar 2026 09:09:30 +0530 Subject: [PATCH] When running kittens use the last reported cwd when at a prompt --- kitty/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index 2915e7dfd..85fec0d1b 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -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, ),