Skip to main content

MOUSE_ENABLE

Constant MOUSE_ENABLE 

Source
pub const MOUSE_ENABLE: &[u8] = b"\x1b[?1000;1002;1006h";
Expand description

Enable SGR mouse reporting: CSI ? 1000;1002;1006 h

Enables:

  • 1000: Normal mouse tracking
  • 1002: Button event tracking (motion while pressed)
  • 1006: SGR extended coordinates (supports > 223)