mizchi/tui/events does not have a README file
pub struct ClickHandler(() -> Unit)pub(all) enum InputEvent {
Key(KeyEvent)
Mouse(MouseEvent)
Resize(Int, Int)
Unknown(String)
} derive(Debug)impl Show for InputEventpub(all) enum KeyModifier {
None
Shift
Ctrl
Alt
CtrlShift
CtrlAlt
ShiftAlt
CtrlShiftAlt
} derive(Debug)impl Show for KeyModifierpub(all) struct MouseEvent {
button : MouseButton
event_type : MouseEventType
x : Int
y : Int
modifier : KeyModifier
} derive(Debug)impl Show for MouseEventpub(all) enum SpecialKey {
Up
Down
Left
Right
Home
End
PageUp
PageDown
Insert
Delete
Tab
BackTab
Backspace
Enter
Escape
F(Int)
} derive(Debug)impl Show for SpecialKeyfn find_layout_by_id(layout : Layout, target_id : String, offset_x : Int, offset_y : Int) -> HitTestResult?fn hit_test(layout : Layout, mouse_x : Int, mouse_y : Int, offset_x : Int, offset_y : Int) -> HitTestResult?Terminal UI library for MoonBit with reactive signals
Dependencies