# extended-keys

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/extended-keys/

> When on or always, the escape sequence to enable extended keys is sent to the terminal, if tmux knows that it is supported.

option tmux3.2a

When on or always, the escape sequence to enable extended keys is sent to the terminal, if tmux knows that it is supported.

* Scope

  server

* Type

  Choice

* Default

  `off`

* Values

  `off` `on` `always`

* Set

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

* Read

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

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

When `on` or `always`, the escape sequence to enable extended keys is sent to the terminal, if `tmux` knows that it is supported. `tmux` always recognises extended keys itself. If this option is `on`, `tmux` will only forward extended keys to applications when they request them; if `always`, `tmux` will always forward the keys.

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

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

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

* Defined in

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

* 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-extended-keys)

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.ExtendedKeys`](https://libtmux.org/en/go/latest/reference/tmux-extendedkeys/), [`tmux.Server.SetExtendedKeys`](https://libtmux.org/en/go/latest/reference/tmux-server-setextendedkeys/), [`tmux.ServerOptionValues.ExtendedKeys`](https://libtmux.org/en/go/latest/reference/tmux-serveroptionvalues-extendedkeys/)
