# terminal-overrides

Source: https://libtmux.org/en/tmux/3.2a/catalog/options/terminal-overrides/

> Allow terminal descriptions read using terminfo(5) to be overridden.

option tmux3.2a

Allow terminal descriptions read using terminfo(5) to be overridden.

* Scope

  server

* Type

  Text, array of values

* Separator

  `,`

* Set

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

* Read

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

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

Allow terminal descriptions read using [terminfo(5)]() to be overridden. Each entry is a colon-separated string made up of a terminal type pattern (matched using [fnmatch(3)]()) and a set of *name=value* entries.

For example, to set the ‘`clear`’ [terminfo(5)]() entry to ‘`\e[H\e[2J`’ for all terminal types matching ‘`rxvt*`’:

`rxvt*:clear=\e[H\e[2J`

The terminal entry value is passed through [strunvis(3)]() before interpretation.

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

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/terminal-overrides/) : default to linux\*:AX@
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/options/terminal-overrides/) : present

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

* Defined in

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

* 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-terminal-overrides)

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

Library documentation that names this option.

* Rust

  [`options.generated.TERMINAL_OVERRIDES`](https://libtmux.org/en/rs/latest/reference/options-generated-terminal_overrides/), [`server.Server.array_option`](https://libtmux.org/en/rs/latest/reference/server-server-array_option/)

* Go

  [`tmux.Server.SetTerminalOverrides`](https://libtmux.org/en/go/latest/reference/tmux-server-setterminaloverrides/), [`tmux.ServerOptionValues.ParsedTerminalOverrides`](https://libtmux.org/en/go/latest/reference/tmux-serveroptionvalues-parsedterminaloverrides/), [`tmux.ServerOptionValues.TerminalOverrides`](https://libtmux.org/en/go/latest/reference/tmux-serveroptionvalues-terminaloverrides/), [`tmux.TerminalOverrides`](https://libtmux.org/en/go/latest/reference/tmux-terminaloverrides/)

* Java

  [`io.github.libtmux.TmuxFormats.printed`](https://libtmux.org/en/java/latest/reference/io-github-libtmux-tmuxformats-tmuxformats-printed/)
