# prefix-timeout

Source: https://libtmux.org/en/tmux/latest/catalog/options/prefix-timeout/

> Set the time in milliseconds for which tmux waits after prefix is input before dismissing it.

option tmux3.7c

Set the time in milliseconds for which tmux waits after prefix is input before dismissing it.

* Scope

  server

* Type

  Number

* Default

  `0`

* Values

  0 to 2147483647 milliseconds

* Set

  [`set-option`](https://libtmux.org/en/tmux/latest/manual/set-option/) `-s prefix-timeout value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `-s prefix-timeout`

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

Set the time in milliseconds for which `tmux` waits after `prefix` is input before dismissing it. Can be set to zero to disable any timeout.

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

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

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

* Defined in

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

* 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-prefix-timeout)

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.Server.SetPrefixTimeout`](https://libtmux.org/en/go/latest/reference/tmux-server-setprefixtimeout/), [`tmux.ServerOptionValues.PrefixTimeout`](https://libtmux.org/en/go/latest/reference/tmux-serveroptionvalues-prefixtimeout/)
