# LibTmux.Server.setPaneTitle

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/src/LibTmux/Server.hs#L220
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-server-v-setpanetitle/

```haskell
setPaneTitle :: Server -> PaneRef -> Text -> IO ()
```

Signature types: [`Server`](/en/haskell/latest/reference/libtmux-server-t-server/), [`PaneRef`](/en/haskell/latest/reference/libtmux-snapshot-t-paneref/), [`Text`](https://hackage.haskell.org/package/text-2.1.3/docs/Data-Text.html#t:Text), [`IO`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:IO).

Set the literal title of a pane from this Server generation. The pane's
 application can replace it later. Use [`setPaneTitleWith`](/en/haskell/latest/reference/libtmux-server-v-setpanetitlewith/) for a deadline.

## Referenced declarations

- [`LibTmux.Snapshot.PaneRef`](/en/haskell/latest/reference/libtmux-snapshot-t-paneref/) (data type)
- [`LibTmux.Server.Server`](/en/haskell/latest/reference/libtmux-server-t-server/) (data type)

## tmux command

The tmux commands behind `setPaneTitle`.

- [`select-pane`](/en/tmux/latest/manual/select-pane/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_select_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_select_pane_entry/) (attribute)
- [`cmd_select_pane_exec`](/en/tmux/latest/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function)

## Guides

Pages that discuss `setPaneTitle`.

- [Rename and set pane titles](/en/haskell/latest/guides/mutations/)
