# LibTmux.Server.selectExactPane

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Server.hs#L769
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-server-v-selectexactpane/

```haskell
selectExactPane :: Server -> WindowSlot -> PaneRef -> IO ()
```

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

Select an exact pane through the given window link. tmux rejects a pane
 that no longer belongs to the link's current window.

## 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)
- [`LibTmux.Creation.WindowSlot`](/en/haskell/latest/reference/libtmux-creation-t-windowslot/) (data type)

## tmux command

The tmux commands behind `selectExactPane`.

- [`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 `selectExactPane`.

- [Create sessions, windows and panes](/en/haskell/latest/guides/creation/)
