# wrap-search

Source: https://libtmux.org/en/tmux/3.7c/catalog/options/wrap-search/

> If this option is set, searches will wrap around the end of the pane contents.

option tmux3.7c

If this option is set, searches will wrap around the end of the pane contents.

* Scope

  window

* Type

  Flag (on or off)

* Default

  `on`

* Set

  [`set-option`](https://libtmux.org/en/tmux/3.7c/manual/set-option/) `-w wrap-search value`

* Read

  [`show-options`](https://libtmux.org/en/tmux/3.7c/manual/show-options/) `-w wrap-search`

## Description[#](https://libtmux.org/en/tmux/3.7c/catalog/options/wrap-search/#description)

If this option is set, searches will wrap around the end of the pane contents. The default is on.

## Releases[#](https://libtmux.org/en/tmux/3.7c/catalog/options/wrap-search/#releases)

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

## Source[#](https://libtmux.org/en/tmux/3.7c/catalog/options/wrap-search/#source)

* Defined in

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

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/3.7c/reference/c-variable-options_table/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.7c/manual/full/#options-wrap-search)

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

Library documentation that names this option.

* Rust

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

* Go

  [`tmux.GlobalWindowScope.SetWrapSearch`](https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setwrapsearch/), [`tmux.Window.SetWrapSearch`](https://libtmux.org/en/go/latest/reference/tmux-window-setwrapsearch/), [`tmux.WindowOptionValues.WrapSearch`](https://libtmux.org/en/go/latest/reference/tmux-windowoptionvalues-wrapsearch/)
