# input-buffer-size

Source: https://libtmux.org/en/tmux/3.7c/catalog/options/input-buffer-size/

> Maximum of bytes allowed to read in escape and control sequences.

option tmux3.7c

Maximum of bytes allowed to read in escape and control sequences.

* Scope

  server

* Type

  Number

* Default

  `1048576`

* Values

  1048576 to 4294967295

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.7c/manual/set-option/) `-s input-buffer-size value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.7c/manual/show-options/) `-s input-buffer-size`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/options/input-buffer-size/#description)

Maximum of bytes allowed to read in escape and control sequences. Once reached, the sequence will be discarded.

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/options/input-buffer-size/#releases)

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

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/options/input-buffer-size/#source)

* Defined in

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

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.7c/manual/full/#options-input-buffer-size)

## Used by[#](https://libtmux.org/en/tmux/3.7c/catalog/options/input-buffer-size/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.Server.SetInputBufferSize`](https://libtmux.org/en/go/latest/reference/tmux-server-setinputbuffersize/), [`tmux.ServerOptionValues.InputBufferSize`](https://libtmux.org/en/go/latest/reference/tmux-serveroptionvalues-inputbuffersize/)
