# tree-mode-preview-style

Source: https://libtmux.org/en/tmux/3.7c/catalog/options/tree-mode-preview-style/

> Set the style of the preview indicator in tree mode.

option tmux3.7c

Set the style of the preview indicator in tree mode.

* Scope

  window

* Type

  Text, style

* Default

  Show the default

  ```
  fg=#{?#{||:#{&&:#{pane_format},#{pane_active}},#{&&:#{window_format},#{window_active}}},#{display-panes-active-colour},#{display-panes-colour}}
  ```

* Separator

  `,`

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.7c/manual/set-option/) `-w tree-mode-preview-style value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.7c/manual/show-options/) `-w tree-mode-preview-style`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/options/tree-mode-preview-style/#description)

Set the style of the preview indicator in tree mode. For how to specify `style`, see the [STYLES](https://libtmux.org/en/tmux/3.7c/manual/full/#STYLES) section.

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/options/tree-mode-preview-style/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/options/tree-mode-preview-style/) : present
* tmux 3.2a : not present

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/options/tree-mode-preview-style/#source)

* Defined in

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

* 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-tree-mode-preview-style)

## Used by[#](https://libtmux.org/en/tmux/3.7c/catalog/options/tree-mode-preview-style/#used-by)

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalWindowScope.SetTreeModePreviewStyle`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-settreemodepreviewstyle/), [`tmux.Window.SetTreeModePreviewStyle`](https://libtmux.org/en/go/latest/reference/tmux-window-settreemodepreviewstyle/), [`tmux.WindowOptionValues.TreeModePreviewStyle`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-treemodepreviewstyle/)
