Skip to content

Modern Tui TuiStyleDefault

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

Home › Terminal TUI Library › Colour and Style › TuiStyleDefault

TuiStyleDefault

Returns the terminal's default style: default colours and no attributes.

Syntax

TuiStyleDefault( ) as TuiStyle

Description

Default foreground on default background, no attributes -- the style the terminal starts in and the one a cleared buffer is filled with.

Example

#import "std/tui"
using tui

dim as TuiStyle d = TuiStyleDefault( )
print d.fg.IsDefault( ), d.bg.IsDefault( )   '' true true
print d.attrs                                '' 0

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