Add moonetui Mission Control demo
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
ea0cd50b9f
21 files changed
+831
No files matched your search
@@ -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}")
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import {
|
||||
"demo/moonetui-demo/lib" @lib,
|
||||
"moonbitstack/moonetui/driver/native" @native,
|
||||
}
|
||||
|
||||
options(
|
||||
"is-main": true,
|
||||
)
|
||||
|
||||
supported_targets = "native"
|
||||
@@ -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
|
||||
Reference in new issue
Block a user