A MoonBit demo text editor application for testing the MVP integration loop:
TerminalEvent C++ core -> TerminalEvent C FFI -> LunarEvent MoonBit event API -> LunarEvent/lunartui adapter -> LunarTUI widget event handling -> redraw
Run from this directory:
moon run cmd/main
The current TerminalEvent backend is POSIX-oriented. On Windows, raw mode is expected to report unavailable until a Windows console backend is implemented or the demo is run in a POSIX terminal environment.