kitty_detach_window
Detach terminal windows and move them to a different tab or a new OS window. Specify a destination tab or create a new one for the detached window.
Instructions
Detach windows and move them to a different tab or a new OS window. By default, detached windows are moved to a new OS window. Use target_tab to specify a destination tab, or "new" to create a new tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | No | Detach the window this command runs in. | |
| match | No | Window match expression for windows to detach. | |
| target_tab | No | Tab match expression for the destination, or "new" to create a new tab. If omitted, a new OS window is created. | |
| stay_in_tab | No | Keep focus in the current tab after moving windows. |