diff --git a/docs/changelog.rst b/docs/changelog.rst index fe8eb9ccb..b8f50e8e2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -103,6 +103,8 @@ Detailed list of changes - macOS: Fix mouse cursor shape not always being reset to text cursor when mouse re-enters kitty (:iss:`8155`) +- clone-in-kitty: Fix :envvar:`KITTY_WINDOW_ID` being cloned and thus having incorrect value (:iss:`8161`) + 0.38.0 [2024-12-15] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/launch.py b/kitty/launch.py index 9dd7960b2..eba8898c5 100644 --- a/kitty/launch.py +++ b/kitty/launch.py @@ -912,6 +912,8 @@ class CloneCmd: # skip SSH environment variables 'SSH_CLIENT', 'SSH_CONNECTION', 'SSH_ORIGINAL_COMMAND', 'SSH_TTY', 'SSH2_TTY', 'SSH_TUNNEL', 'SSH_USER_AUTH', 'SSH_AUTH_SOCK', + # Dont clone KITTY_WINDOW_ID + 'KITTY_WINDOW_ID', } and not k.startswith(( # conda state env vars for multi-level virtual environments 'CONDA_PREFIX_',