# control.Event.PaneModeChanged

- **Module:** control.Event
- **Package:** libtmux
- **Language:** Rust
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/control.rs#L211
- **Page:** https://libtmux.org/reference/rs/control-event-panemodechanged/

A pane entered or left a mode, such as copy mode.

tmux says the pane changed mode, not which mode it is now; read
`pane_mode` to learn that.
