# io.github.libtmux.scaladsl.cats.Pane.swapWith

- **Module:** io.github.libtmux.scaladsl.cats
- **Package:** io.github.libtmux:libtmux-scala_3
- **Language:** Scala
- **Kind:** method
- **Source:** https://libtmux.org/en/scala/latest/reference/sources/libtmux-scala-cats/build/generated/sources/catalog/scala/operations/GeneratedOperations.scala
- **Page:** https://libtmux.org/en/scala/latest/reference/io-github-libtmux-scaladsl-cats-pane-swapwith/

```
extension [F[_]](self: Pane[F])(using F: _root_.cats.effect.Async[F])
def swapWith(other: Pane[F]): F[Unit]
```

Swaps this pane's position with another's.

## Parameters

- `other` (`Pane[F]`)
