mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-01 13:23:58 +00:00
Allow passing rc passwds when creating special window
This commit is contained in:
parent
70e068e414
commit
4bb0d3dbfb
1 changed files with 2 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue