# control.Event.PaneModeChanged

- **Module:** control.Event
- **Package:** libtmux
- **Language:** Rust
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/control.rs#L214
- **Page:** https://libtmux.org/en/rs/latest/reference/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.
