kitty_resize_os_window
Resize, maximize, fullscreen, or hide kitty terminal windows. Specify dimensions in cells or pixels, and target specific windows.
Instructions
Resize, show, hide, or toggle fullscreen/maximized state of kitty OS windows. Note that some window managers (e.g. tiling WMs) may not allow applications to resize their windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | No | Resize the window this command runs in. | |
| unit | No | Size unit for width/height. Default: cells. | |
| match | No | Window match expression. | |
| width | No | Desired window width. 0 leaves unchanged. Default: 0. | |
| action | No | The action to perform. Default: "resize". | |
| height | No | Desired window height. 0 leaves unchanged. Default: 0. | |
| incremental | No | Treat sizes as increments on existing size. |