it2 window set-property
Set a window property
Synopsis
it2 window set-property <window-id> <property> <value>
Description
Set a window property. Available properties:
- fullscreen: Set fullscreen state (true/false)
- frame: Set window position and size (JSON: {"origin": {"x": 0, "y": 0}, "size": {"width": 800, "height": 600}})
Note: Not all properties are settable. Use get-property to see current values.
Options inherited from parent commands
-
--format(default "text") - Output format (text, json, yaml) - affects how command results are displayed
-
--timeout - Timeout for API operations - how long to wait for iTerm2 to respond
-
--url - WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2
See Also
- it2 window - Manage iTerm2 windows or navigate to window context