Skip to main content

Wait for screen

Wait until the host unlocks the keyboard, shows an input field, changes the screen, or a number of seconds passes.

Command in the Terminal emulator toolkit · id ooa.terminal/wait · 6 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ConditionStringNoinput_fieldinput_field: a typeable field is shown; unlock: keyboard unlocked (terminal ready); screen_change: the host sends new output; screen_blank: the screen is empty; cursor_at / cursor_leaves: the cursor reaches or leaves row and column; seconds: just pause.
Timeout (seconds)NumberNo30Maximum wait (the pause length for seconds).
Fail on timeoutBooleanNotrueStop with an error on timeout; when off, met is false instead.
SessionStringNoterminalSession name.
RowNumberNoRow (1-based) for cursor_at and cursor_leaves.
ColumnNumberNoColumn (1-based) for cursor_at and cursor_leaves.

Outputs​

OutputTypeWhat it is
metBooleanTrue when the condition was met in time (false only when fail_on_timeout is off).