From 4bb0d3dbfbcaaaaf02ff980d432ccf24655bcc79 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 Sep 2024 12:47:22 +0530 Subject: [PATCH] Allow passing rc passwds when creating special window --- kitty/tabs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitty/tabs.py b/kitty/tabs.py index 3629ac6e8..f8386bc0e 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -560,6 +560,7 @@ class Tab: # {{{ location: Optional[str] = None, copy_colors_from: Optional[Window] = None, allow_remote_control: bool = False, + remote_control_passwords: Optional[dict[str, Sequence[str]]] = None, ) -> Window: return self.new_window( use_shell=False, cmd=special_window.cmd, stdin=special_window.stdin, @@ -567,7 +568,7 @@ class Tab: # {{{ cwd_from=special_window.cwd_from, cwd=special_window.cwd, overlay_for=special_window.overlay_for, env=special_window.env, location=location, copy_colors_from=copy_colors_from, allow_remote_control=allow_remote_control, watchers=special_window.watchers, overlay_behind=special_window.overlay_behind, - hold=special_window.hold, + hold=special_window.hold, remote_control_passwords=remote_control_passwords, ) @ac('win', 'Close all windows in the tab other than the currently active window')