# Server.setTitle(_:of:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Navigation.swift#L220
- **Page:** https://libtmux.org/en/swift/latest/reference/server-settitle(_-of-)/

```
Server.setTitle(_:of:)(title: String, of: Pane) -> ()
```

Sets a pane's title. The title is only shown when tmux is configured to display it, but it is always readable through a format.

## Raises

- `TmuxError`
