option tmux3.2a
window-size
Configure how tmux determines the window size.
- Scope
- window
- Type
- Choice
- Default
latest- Values
largestsmallestmanuallatest- Set
-
set-option-w window-size value - Read
-
show-options-w window-size
Description#
Configure how
tmux determines the window size. If set to largest, the size of the largest attached session is used; if smallest, the size of the smallest. If manual, the size of a new window is set from the default-size option and windows are resized automatically. With latest, tmux uses the size of the client that had the most recent activity. See also the resize-window command and the aggressive-resize option.Releases#
Source#
- Defined in
options-table.c:986- C source reference
options_table- CLI Manual
- Original manual entry
Used by#
Library documentation that names this option.
- PowerShell
LibTmux\Set-TmuxWindowSize- Julia
LibTmux.resize_pane,LibTmux.resize_window- TypeScript
types.ResizeWindowOptions,window.Window.resize- Rust
options.generated.WINDOW_SIZE- Go
tmux.GlobalWindowScope.SetWindowSize,tmux.Window.SetWindowSize,tmux.WindowOptionValues.WindowSize,tmux.WindowSize- C#
LibTmux.Window.ResizeAsync