Skip to content

Modern Tui TuiRedraw

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

Home › Terminal TUI Library › Application Loop › TuiRedraw

TuiRedraw

Returns a command that draws the next frame; only the cells that changed are sent.

Syntax

TuiRedraw( ) as TuiCmd

Description

Mark the screen dirty so the next frame is rendered. The diff still applies -- a redraw after a change that turns out to be invisible costs zero bytes.

Example

#import "std/tui"
using tui

print TuiRedraw( ).kind = TUICMD_REDRAW '' -1 (true)

See also

TuiApp TuiApp.Update TuiApp.Shutdown TuiNone 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