Skip to content

Commit 4bb0d3d

Browse files
committed
Allow passing rc passwds when creating special window
1 parent 70e068e commit 4bb0d3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kitty/tabs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,14 +560,15 @@ def new_special_window(
560560
location: Optional[str] = None,
561561
copy_colors_from: Optional[Window] = None,
562562
allow_remote_control: bool = False,
563+
remote_control_passwords: Optional[dict[str, Sequence[str]]] = None,
563564
) -> Window:
564565
return self.new_window(
565566
use_shell=False, cmd=special_window.cmd, stdin=special_window.stdin,
566567
override_title=special_window.override_title,
567568
cwd_from=special_window.cwd_from, cwd=special_window.cwd, overlay_for=special_window.overlay_for,
568569
env=special_window.env, location=location, copy_colors_from=copy_colors_from,
569570
allow_remote_control=allow_remote_control, watchers=special_window.watchers, overlay_behind=special_window.overlay_behind,
570-
hold=special_window.hold,
571+
hold=special_window.hold, remote_control_passwords=remote_control_passwords,
571572
)
572573

573574
@ac('win', 'Close all windows in the tab other than the currently active window')

0 commit comments

Comments
 (0)