Skip to content

Modern Tui TuiNone

Paul Squires edited this page Oct 19, 2026 · 6 revisions

Home › Terminal TUI Library › Application Loop › TuiNone

TuiNone

Returns a command that does nothing, for events your app ignores.

Syntax

TuiNone( ) as TuiCmd

Description

Do nothing. The right answer for an event your application does not care about -- and it is not the same as TuiRedraw, which costs a frame.

Example

#import "std/tui"
using tui

print TuiNone( ).kind = TUICMD_NONE '' -1 (true)

See also

TuiApp TuiApp.Update TuiApp.Shutdown TuiRedraw TuiTick TuiSuspend
TuiApp.Init TuiApp.View TuiCmd TuiQuit TuiInvalidate TuiRun

Library: Terminal TUI Library
Category: Terminal TUI Library
Documented under: Application Loop
Working examples: hello.tiko · form.tiko · dashboard.tiko


Home · Keyword Index

Clone this wiki locally