From 07099b3a3d33bc0d97b564cda0e0c1b38d48cc20 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 22 Mar 2026 07:36:55 +0530 Subject: [PATCH] Add a reminder about cloning shell envs being unsafe --- kitty/window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitty/window.py b/kitty/window.py index 8b3f00cf7..c9da657fe 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -1632,7 +1632,8 @@ class Window: if ac == 'ask': get_boss().confirm(_( 'A program running in this window wants to clone it into another window.' - ' Allow it do so, once?'), + ' WARNING: cloning a window is unsafe, as it allows arbitrary code execution,' + ' only accept this request if you trust the environment you are cloning. Allow the clone, once?'), partial(self.handle_remote_clone_confirmation, cdata), window=self, title=_('Allow cloning of window?'), )