# message-limit

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/message-limit/

> Set the number of error or information messages to save in the message log for each client.

option tmux3.2a

Set the number of error or information messages to save in the message log for each client.

* Scope

  server

* Type

  Number

* Default

  `1000`

* Values

  0 to 2147483647

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.2a/manual/set-option/) `-s message-limit value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.2a/manual/show-options/) `-s message-limit`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/options/message-limit/#description)

Set the number of error or information messages to save in the message log for each client. The default is 100.

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/options/message-limit/#releases)

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

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/options/message-limit/#source)

* Defined in

  [`options-table.c:295`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options-table.c#L295)

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#options-message-limit)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/options/message-limit/#used-by)

Library documentation that names this option.

* Rust

  [`options.generated.MESSAGE_LIMIT`](https://libtmux.org/en/rs/latest/reference/options-generated-message_limit/)

* Go

  [`tmux.Server.SetMessageLimit`](https://libtmux.org/en/go/latest/reference/tmux-server-setmessagelimit/), [`tmux.ServerOptionValues.MessageLimit`](https://libtmux.org/en/go/latest/reference/tmux-serveroptionvalues-messagelimit/)
