# libtmux.Pane.clear

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/pane.py#L2586
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-pane-clear/

```
libtmux.Pane.clear(self) -> Pane
```

Clear pane.

## In other ports

### Clear a pane by running the shell's reset

- Go: [`tmux.Pane.Clear`](/en/go/latest/reference/tmux-pane-clear/) (method)
- C#: [`LibTmux.Pane.ClearAsync`](/en/csharp/latest/reference/libtmux-pane-clearasync/) (method)
