# set-titles

Source: https://libtmux.org/en/tmux/latest/catalog/options/set-titles/

> Attempt to set the client terminal title using the tsl and fslterminfo(5) entries if they exist.

option tmux3.7c

Attempt to set the client terminal title using the tsl and fslterminfo(5) entries if they exist.

* Scope

  session

* Type

  Flag (on or off)

* Default

  `off`

* Set

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

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `set-titles`

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

Attempt to set the client terminal title using the *tsl* and *fsl*[terminfo(5)]() entries if they exist. `tmux` automatically sets these to the \e]0;...\007 sequence if the terminal appears to be [xterm(1)](). This option is off by default.

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

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

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

* Defined in

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

* 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-set-titles)

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalSessionScope.SetTitles`](https://libtmux.org/en/go/latest/reference/tmux-globalsessionscope-settitles/), [`tmux.Session.SetTitles`](https://libtmux.org/en/go/latest/reference/tmux-session-settitles/), [`tmux.SessionOptionValues.SetTitles`](https://libtmux.org/en/go/latest/reference/tmux-sessionoptionvalues-settitles/)
