# history_limit

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

> Maximum window history lines

format variable tmux3.7c

Maximum window history lines

* Scope

  Describes the pane being formatted

* Type

  Text

* Usage

  `#{history_limit}`

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

Maximum window history lines

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

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

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

* Defined in

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

* C source reference

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

* CLI Manual

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

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

Library documentation that names this format variable.

* Go

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