Skip to content

Modern Tui TuiSgrReset

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

Home › Terminal TUI Library › Colour and Style › TuiSgrReset

TuiSgrReset

Returns the escape sequence that resets every colour and attribute.

Syntax

TuiSgrReset( ) as string

Description

ESC [ 0 m -- back to the terminal's default everything. The leave sequence starts with this, so no style bleeds onto the main screen.

Example

#import "std/tui"
using tui

print len( TuiSgrReset( ) )            '' 4
print asc( TuiSgrReset( ), 1 )         '' 27

See also

TuiColor TuiColor.Equals TuiDefaultColor TuiIndexed TuiBlack TuiGreen
TuiColor.IsDefault TuiColor.Index TuiAnsi TuiRgb TuiRed TuiYellow

Library: Terminal TUI Library
Category: Terminal TUI Library
Documented under: Colour and Style
Working examples: hello.tiko · form.tiko · dashboard.tiko


Home · Keyword Index

Clone this wiki locally