From c8f8aa5344a0a4e5712305eabb58005dec79acc3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 25 Oct 2026 08:48:15 +0530 Subject: [PATCH] Make the warning for --use-foreground-process more explicit --- kitty/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/session.py b/kitty/session.py index f21e1d9ef..7a8ba86fb 100644 --- a/kitty/session.py +++ b/kitty/session.py @@ -671,8 +671,8 @@ both the shell **and** the process running inside it are re-started. This is mos when you have opened programs like editors or similar inside windows that started out running the shell and you want to preserve that. WARNING: Be careful when using this option, if you are running some dangerous command like :file:`rm` or :file:`mv` or similar in a shell, it will be re-run when -the session is executed if you use this option. Note that this option requires :ref:`shell_integration` -to work. +the session is executed if you use this option and it is unsafe to use if you are connected to untrusted hosts. +Note that this option requires :ref:`shell_integration` to work. --relocatable