# LibTmux.Server.setPaneTitleWith

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

```haskell
setPaneTitleWith
  :: MutationOptions -> Server -> PaneRef -> Text -> IO ()
```

Signature types: [`MutationOptions`](/en/haskell/latest/reference/libtmux-server-t-mutationoptions/), [`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).

[`setPaneTitle`](/en/haskell/latest/reference/libtmux-server-v-setpanetitle/) with an explicit deadline. Missing panes fail with
 [`MutationRejected`](/en/haskell/latest/reference/libtmux-server-v-mutationrejected/). Foreign and offline references fail with [`InvalidTarget`](/en/haskell/latest/reference/libtmux-server-v-invalidtarget/)
 before dispatch. No mutation retries after cancellation or timeout.

## Referenced declarations

- [`LibTmux.Server.MutationOptions`](/en/haskell/latest/reference/libtmux-server-t-mutationoptions/) (data type)
- [`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 `setPaneTitleWith`.

- [`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)
