# prompt-cursor-style

Source: https://libtmux.org/en/tmux/latest/catalog/options/prompt-cursor-style/

> Set the style of the cursor in the command prompt.

option tmux3.7c

Set the style of the cursor in the command prompt.

* Scope

  session

* Type

  Choice

* Default

  `default`

* Values

  `default` `blinking-block` `block` `blinking-underline` `underline` `blinking-bar` `bar`

* Set

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

* Read

  [`show-options`](https://libtmux.org/en/tmux/latest/manual/show-options/) `prompt-cursor-style`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/options/prompt-cursor-style/#description)

Set the style of the cursor in the command prompt. See the [`cursor-style`](https://libtmux.org/en/tmux/latest/catalog/options/cursor-style/) options for available styles.

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/options/prompt-cursor-style/#releases)

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

## Source[#](https://libtmux.org/en/tmux/latest/catalog/options/prompt-cursor-style/#source)

* Defined in

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

* 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-prompt-cursor-style)

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

Library documentation that names this option.

* Rust

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

* Go

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