# buffer_name

Source: https://libtmux.org/en/tmux/3.7c/catalog/formats/buffer_name/

> Name of buffer

format variable tmux3.7c

Name of buffer

* Scope

  Describes the buffer being formatted

* Type

  Text

* Usage

  `#{buffer_name}`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/buffer_name/#description)

Name of buffer

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/buffer_name/#releases)

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

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/buffer_name/#source)

* Defined in

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

* C source reference

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

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.7c/manual/full/#buffer_name)

## Used by[#](https://libtmux.org/en/tmux/3.7c/catalog/formats/buffer_name/#used-by)

Library documentation that names this format variable.

* Python

  [`libtmux_mcp.models.BufferRef`](https://libtmux.org/en/py/latest/mcp/reference/libtmux_mcp-models-bufferref/), [`libtmux_mcp.tools.buffer_tools.load_buffer`](https://libtmux.org/en/py/latest/mcp/reference/libtmux_mcp-tools-buffer_tools-load_buffer/), [`libtmux_mcp.tools.buffer_tools.show_buffer`](https://libtmux.org/en/py/latest/mcp/reference/libtmux_mcp-tools-buffer_tools-show_buffer/), [`libtmux.Server.list_buffers`](https://libtmux.org/en/py/latest/reference/libtmux-server-list_buffers/)
