# cursor-style

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

> Set the style of the cursor.

option tmux3.7c

Set the style of the cursor.

* Scope

  window, pane

* 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/) `-w cursor-style value`

* Read

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

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

Set the style of the cursor. Available styles are: `default`, `blinking-block`, `block`, `blinking-underline`, `underline`, `blinking-bar`, `bar`.

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

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

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

* Defined in

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

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

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.CursorStyle`](https://libtmux.org/en/go/latest/reference/tmux-cursorstyle/), [`tmux.GlobalWindowScope.SetCursorStyle`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setcursorstyle/), [`tmux.Pane.SetCursorStyle`](https://libtmux.org/en/go/latest/reference/tmux-pane-setcursorstyle/), [`tmux.PaneOptionValues.CursorStyle`](https://libtmux.org/en/go/latest/reference/tmux-paneoptionvalues-cursorstyle/), [`tmux.Window.SetCursorStyle`](https://libtmux.org/en/go/latest/reference/tmux-window-setcursorstyle/), [`tmux.WindowOptionValues.CursorStyle`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-cursorstyle/)
