diff --git a/docs/changelog.rst b/docs/changelog.rst index b6eb9c635..0f88eddc6 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -216,6 +216,8 @@ Detailed list of changes - choose-file kitten: Use a full readline editor for the search box. Also allow remapping the up/down/home/end keys to use for editing instead of navigating the file list (:pull:`10225`) +- Fix :ac:`remote_control_script` not working in a kitty instance run from inside another kitty instance + 0.47.4 [2026-06-15] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/boss.py b/kitty/boss.py index 31ace3c23..162f632fc 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -2902,6 +2902,7 @@ class Boss: remote = self.add_fd_based_remote_control(remote_control_passwords) pass_fds.append(remote.fileno()) add_env('KITTY_LISTEN_ON', f'fd:{remote.fileno()}') + add_env('KITTY_PUBLIC_KEY', self.encryption_public_key) if activation_token: add_env('XDG_ACTIVATION_TOKEN', activation_token) fds_to_close_on_launch_failure = list(pass_fds) diff --git a/tools/cmd/pytest/main.go b/tools/cmd/pytest/main.go index fea1742c1..de5532770 100644 --- a/tools/cmd/pytest/main.go +++ b/tools/cmd/pytest/main.go @@ -53,8 +53,8 @@ func shm_entry_point(root *cli.Command) { return test_integration_with_python(args) }, }) - } + func EntryPoint(root *cli.Command) { root = root.AddSubCommand(&cli.Command{ Name: "__pytest__",