Skip to content

Modern Tui TuiInput Queued

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

Home › Terminal TUI Library › Events › TuiInput.Queued

TuiInput.Queued

Counts the parsed events waiting to be taken.

Syntax

TuiInput.Queued( ) as int32

Description

Events parsed and waiting to be taken.

Example

#import "std/tui"
using tui

dim as TuiInput keys
keys.Feed( "abc" )                '' three complete characters
print keys.Queued( ) >= 0          '' -1 (true)
print keys.NextEvent( ).Value( ).key.ch = asc( "a" ) '' -1 (true)

See also

TuiEvent TuiKey.IsChar TuiMouse TuiInput TuiInput.NextEvent TuiInput.Reset
TuiKey TuiKey.HasMod TuiKeyName TuiInput.Feed TuiInput.PushEvent TuiInput.Buffered

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


Home · Keyword Index

Clone this wiki locally