tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

window-size

Configure how tmux determines the window size.

Scope
window
Type
Choice
Default
latest
Values
largest smallest manual latest
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:1537
C source reference
options_table
CLI manual
Original manual entry

Used by

Library documentation that names this option.

Raku
LibTmux::Catalogue
PowerShell
LibTmux\Set-TmuxWindowSize
Julia
LibTmux.resize_pane, LibTmux.resize_window
Haskell
LibTmux.Server.resizeWindow
Common Lisp
libtmux:resize-window, libtmux: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
OCaml
Libtmux_eio.Client.resize_window, Libtmux_unix.Client.resize_window, Libtmux.Operations.resize_window
Esc

Type to search.

Reference previewOpen reference