# LibTmux.Server.breakPaneWith

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

```haskell
breakPaneWith
  :: MutationOptions
  -> Server
  -> PaneOccurrence
  -> WindowSlot
  -> IO PaneRelocationReceipt
```

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

Break out with an explicit mutation deadline. Some releases omit the
 printed link or print another link to the same destination window.
 An interrupted command can retain relocation evidence in [`LibTmux.Recovery`](/en/haskell/latest/reference/libtmux-recovery/).

## Referenced declarations

- [`LibTmux.Server.MutationOptions`](/en/haskell/latest/reference/libtmux-server-t-mutationoptions/) (data type)
- [`LibTmux.Snapshot.PaneOccurrence`](/en/haskell/latest/reference/libtmux-snapshot-t-paneoccurrence/) (data type)
- [`LibTmux.Creation.PaneRelocationReceipt`](/en/haskell/latest/reference/libtmux-creation-t-panerelocationreceipt/) (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 `breakPaneWith`.

- [`break-pane`](/en/tmux/latest/manual/break-pane/) (when the source matches and destination is vacant)
- [`if-shell`](/en/tmux/latest/manual/if-shell/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_break_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_break_pane_entry/) (attribute)
- [`cmd_break_pane_exec`](/en/tmux/latest/reference/c-function-cmd-break-pane-c-cmd_break_pane_exec/) (function)
- [`cmd_if_shell_entry`](/en/tmux/latest/reference/c-variable-cmd_if_shell_entry/) (attribute)
- [`cmd_if_shell_exec`](/en/tmux/latest/reference/c-function-cmd-if-shell-c-cmd_if_shell_exec/) (function)
