Add a reminder about cloning shell envs being unsafe

This commit is contained in:
Kovid Goyal
2026-03-22 07:36:55 +05:30
parent 48ab623f59
commit 07099b3a3d

View File

@@ -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?'),
)