mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Support os_window as a destination for the pipe function
This commit is contained in:
@@ -824,6 +824,8 @@ class Boss:
|
||||
tm = self.active_tab_manager
|
||||
if tm is not None:
|
||||
tm.new_tab(special_window=create_window(), cwd_from=cwd_from)
|
||||
elif dest == 'os_window':
|
||||
self._new_os_window(create_window(), cwd_from=cwd_from)
|
||||
else:
|
||||
import subprocess
|
||||
subprocess.Popen(cmd)
|
||||
|
||||
@@ -840,10 +840,9 @@ run a fullscreen terminal application, the secondary screen will be the screen
|
||||
you return to when quitting the application. You can also use ``none`` for no
|
||||
:file:`STDIN` input.
|
||||
|
||||
To open in a new window or tab use ``window`` or ``tab`` respectively. You can
|
||||
also use ``none`` in which case the data will be piped into the program without
|
||||
creating any windows.
|
||||
'''))
|
||||
To open in a new window, tab or new OS window, use ``window``, ``tab``, or
|
||||
``os_window`` respectively. You can also use ``none`` in which case the data
|
||||
will be piped into the program without creating any windows. '''))
|
||||
|
||||
|
||||
# }}}
|
||||
|
||||
Reference in New Issue
Block a user