# prompt-command-cursor-style

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

> Set the style of the cursor in the command prompt when vi keys are enabled and the prompt is in command mode.

option tmux3.7c

Set the style of the cursor in the command prompt when vi keys are enabled and the prompt is in command mode.

* 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-command-cursor-style value`

* Read

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

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

Set the style of the cursor in the command prompt when vi keys are enabled and the prompt is in command mode. 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-command-cursor-style/#releases)

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

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

* Defined in

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

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

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

Library documentation that names this option.

* Rust

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

* Go

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