Experimental terminal host: raw-mode TTY input channels for the MoUI TUI renderer
Dependencies
wzzc-dev/moui_terminal_host does not have a README file
pub(all) struct MouseReport {
position : CellPosition
button : Int
phase : MousePhase
modifiers : KeyModifiers
} derive(Eq, Debug)pub(all) enum TerminalEvent {
Key(KeyboardEvent)
Text(TextInputEvent)
Mouse(MouseReport)
Wheel(WheelReport)
} derive(Eq, Debug)pub struct Tty {
in_fd : Int
out_fd : Int
}pub(all) struct WheelReport {
position : CellPosition
up : Bool
modifiers : KeyModifiers
} derive(Eq, Debug)fn[Model, Msg] run_program(program~ : Program[Model, Msg], cell? : CellBox, idle_timeout_ms? : Int, theme? : Theme?) -> TerminalExitfn[Msg] run_view(root~ : View[Msg], cell? : CellBox, idle_timeout_ms? : Int, on_message? : (Msg) -> Unit?, theme? : Theme?) -> TerminalExitInstall
Download zipExperimental terminal host: raw-mode TTY input channels for the MoUI TUI renderer
Dependencies