# libtmux::Pane::enter_copy_mode

- **Module:** libtmux::Pane
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/entities.hpp#L832
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-pane-enter_copy_mode/

```
libtmux::Pane::enter_copy_mode() -> expected< void, CommandFailure >
```

Put this pane into copy mode, where its contents can be scrolled and selected rather than typed into.

Needs no attached client: the mode is pane state, which `in_mode` reports. Entering twice is harmless.
