Enum vt100::MouseProtocolMode
source · pub enum MouseProtocolMode {
None,
Press,
PressRelease,
ButtonMotion,
AnyMotion,
}
Expand description
The xterm mouse handling mode currently in use.
Variants§
None
Mouse handling is disabled.
Press
Mouse button events should be reported on button press. Also known as X10 mouse mode.
PressRelease
Mouse button events should be reported on button press and release. Also known as VT200 mouse mode.
ButtonMotion
Mouse button events should be reported on button press and release, as well as when the mouse moves between cells while a button is held down.
AnyMotion
Mouse button events should be reported on button press and release, and mouse motion events should be reported when the mouse moves between cells regardless of whether a button is held down or not.
Trait Implementations§
source§impl Clone for MouseProtocolMode
impl Clone for MouseProtocolMode
source§fn clone(&self) -> MouseProtocolMode
fn clone(&self) -> MouseProtocolMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MouseProtocolMode
impl Debug for MouseProtocolMode
source§impl Default for MouseProtocolMode
impl Default for MouseProtocolMode
source§impl PartialEq<MouseProtocolMode> for MouseProtocolMode
impl PartialEq<MouseProtocolMode> for MouseProtocolMode
source§fn eq(&self, other: &MouseProtocolMode) -> bool
fn eq(&self, other: &MouseProtocolMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.