mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Improve mouse support for menu and toggle.
This commit is contained in:
@@ -32,6 +32,7 @@ class TerminalInputParser {
|
||||
MOUSE_MIDDLE_MOVE,
|
||||
MOUSE_RIGHT_DOWN,
|
||||
MOUSE_RIGHT_MOVE,
|
||||
CURSOR_REPORTING,
|
||||
};
|
||||
|
||||
struct Mouse {
|
||||
@@ -58,6 +59,7 @@ class TerminalInputParser {
|
||||
Output ParseCSI();
|
||||
Output ParseOSC();
|
||||
Output ParseMouse(std::vector<int> arguments);
|
||||
Output ParseCursorReporting(std::vector<int> arguments);
|
||||
|
||||
Sender<Event> out_;
|
||||
int position_ = -1;
|
||||
|
Reference in New Issue
Block a user