Add moonetui Mission Control demo

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-21 12:16:08 +00:00
commit ea0cd50b9f
21 files changed
+831

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
///|
fn main {
try {
let tty = @native.NativeTty::new()
let (ui, m) = @lib.build(tty)
ui.start()
@native.run(() => @lib.frame(ui, m))
ui.stop()
} catch {
e => println("moonetui-demo: terminal error: \{e}")
}
}
+10
View File
@@ -0,0 +1,10 @@
import {
"demo/moonetui-demo/lib" @lib,
"moonbitstack/moonetui/driver/native" @native,
}
options(
"is-main": true,
)
supported_targets = "native"
+12
View File
@@ -0,0 +1,12 @@
// Generated using `moon info`, DON'T EDIT IT
package "demo/moonetui-demo/main"
// Values
// Errors
// Types and methods
// Type aliases
// Traits