ftxui::Mouse
mouse.hpp
Button
ftxui::Mouse::Button
Left
= 0
Middle
= 1
Right
= 2
None
= 3
WheelUp
= 4
WheelDown
= 5
WheelLeft
= 6
WheelRight
= 7

Supported terminal only.

Motion
ftxui::Mouse::Motion
Released
= 0
Pressed
= 1
Moved
= 2
Button Button button button ftxui::Mouse::button = Button::None
Motion Motion motion motion ftxui::Mouse::motion = Motion::Pressed
bool bool shift shift ftxui::Mouse::shift = false
bool bool meta meta ftxui::Mouse::meta = false
bool bool control control ftxui::Mouse::control = false
int int x x ftxui::Mouse::x = 0
int int y y ftxui::Mouse::y = 0

A mouse event. It contains the coordinate of the mouse, the button pressed and the modifier (shift, ctrl, meta).

- ftxui::Mouse
  Button
- ftxui::Mouse
  button
- ftxui::Mouse
  control
- ftxui::Mouse
  Left
- ftxui::Mouse
  meta
- ftxui::Mouse
  Middle
- ftxui::Mouse
  Motion
- ftxui::Mouse
  motion
- ftxui::Mouse
  Moved
- ftxui::Mouse
  None
- ftxui::Mouse
  Pressed
- ftxui::Mouse
  Released
- ftxui::Mouse
  Right
- ftxui::Mouse
  shift
- ftxui::Mouse
  WheelDown
- ftxui::Mouse
  WheelLeft
- ftxui::Mouse
  WheelRight
- ftxui::Mouse
  WheelUp
- ftxui::Mouse
  x
- ftxui::Mouse
  y