Do not set KITTY_LISTEN_ON after the window rc password is configured
This commit is contained in:
parent
2898a3ef8c
commit
a5bb2548a6
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ def new_window(
|
|||
) -> 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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue