# cursor_x

Source: https://libtmux.org/en/tmux/latest/catalog/formats/cursor_x/

> Cursor X position in pane

format variable tmux3.7c

Cursor X position in pane

* Scope

  Describes the pane being formatted

* Type

  Text

* Usage

  `#{cursor_x}`

## Description[#](https://libtmux.org/en/tmux/latest/catalog/formats/cursor_x/#description)

Cursor X position in pane

## Releases[#](https://libtmux.org/en/tmux/latest/catalog/formats/cursor_x/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/formats/cursor_x/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/formats/cursor_x/) : present

## Source[#](https://libtmux.org/en/tmux/latest/catalog/formats/cursor_x/#source)

* Defined in

  [`format.c:3314`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3314)

* C source reference

  [`format_cb_cursor_x`](https://libtmux.org/en/tmux/latest/reference/c-function-format-c-format_cb_cursor_x/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/latest/manual/full/#cursor_x)

## Used by[#](https://libtmux.org/en/tmux/latest/catalog/formats/cursor_x/#used-by)

Library documentation that names this format variable.

* Python

  [`libtmux_mcp.tools.pane_tools.display_message`](https://libtmux.org/en/py/latest/mcp/reference/libtmux_mcp-tools-pane_tools-display_message/)

* Go

  [`tmux.FormatValues.CursorX`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-cursorx/), [`tmux.Pane.CursorX`](https://libtmux.org/en/go/latest/reference/tmux-pane-cursorx/)
