# default-size

Source: https://libtmux.org/en/tmux/latest/catalog/options/default-size/

> Set the default size of new windows when the window-size option is set to manual or when a session is created with new-session-d.

option tmux3.7c

Set the default size of new windows when the window-size option is set to manual or when a session is created with new-session-d.

* Scope

  session

* Type

  Text

* Default

  `80x24`

* Set

  [`set-option`](https://libtmux.org/en/tmux/latest/manual/set-option/) `default-size value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `default-size`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/options/default-size/#description)

Set the default size of new windows when the [`window-size`](https://libtmux.org/en/tmux/latest/catalog/options/window-size/) option is set to manual or when a session is created with [`new-session`](https://libtmux.org/en/tmux/latest/manual/new-session/)`-d`. The value is the width and height separated by an ‘`x`’ character. The default is 80x24.

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/options/default-size/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/default-size/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/default-size/) : present

## Source[#](https://libtmux.org/en/tmux/latest/catalog/options/default-size/#source)

* Defined in

  [`options-table.c:610`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options-table.c#L610)

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/latest/reference/c-variable-options_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#options-default-size)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/options/default-size/#used-by)

Library documentation that names this option.

* Rust

  [`options.generated.DEFAULT_SIZE`](https://libtmux.org/en/rs/latest/reference/options-generated-default_size/), [`server.NewSessionOptions.size`](https://libtmux.org/en/rs/latest/reference/server-newsessionoptions-size/)

* Go

  [`tmux.GlobalSessionScope.SetDefaultSize`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-setdefaultsize/), [`tmux.Session.SetDefaultSize`](https://libtmux.org/en/go/latest/reference/tmux-session-setdefaultsize/), [`tmux.SessionOptionValues.DefaultSize`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-defaultsize/)
