From a5bb2548a62ec10747e7a6f0bf4a085e55443e65 Mon Sep 17 00:00:00 2001 From: pagedown Date: Wed, 17 Aug 2022 19:37:52 +0800 Subject: [PATCH] Do not set KITTY_LISTEN_ON after the window rc password is configured --- kitty/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index 8ac5a87d2..3557bafc2 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -446,7 +446,7 @@ class Tab: # {{{ ) -> Window: child = self.launch_child( use_shell=use_shell, cmd=cmd, stdin=stdin, cwd_from=cwd_from, cwd=cwd, env=env, - is_clone_launch=is_clone_launch, add_listen_on_env_var=not allow_remote_control + is_clone_launch=is_clone_launch, add_listen_on_env_var=False if allow_remote_control and remote_control_passwords else True ) window = Window( self, child, self.args, override_title=override_title,