code wiki / (root) / nx_tty_test.nx

nx_tty_test.nx

buildroot/runtime/nx_tty_test.nx

1129 B34 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_tty_test.nx -- smoke for the user-interaction output layer. Non-interactive: writes a known sequence of ANSI escapes + text to stdout, verifies via byte-count return values that each sys_write succeeded. A real interactive smoke would need a TTY.

dependencies 3 imports · 0 importers

syscalls.nx runtime.nx nx_tty.nx nx_tty_test.nx

imports: syscalls.nxruntime.nxnx_tty.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_tty_clear nx_tty_cursor_home nx_tty_reset nx_tty_fg itoa nx_tty_bg nx_tty_fg ↻ nx_tty_bold nx_tty_underline nx_tty_inverse nx_tty_cursor_at itoa ↻ nx_tty_say nx_tty_fg ↻ print strlen nx_tty_reset ↻ nx_tty_announce nx_tty_bold ↻ nx_tty_fg ↻ print ↻ nx_tty_reset ↻

structs

none

consts

none

functions

11func main() -> i64 {