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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Condition | String | No | input_field | input_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) | Number | No | 30 | Maximum wait (the pause length for seconds). |
| Fail on timeout | Boolean | No | true | Stop with an error on timeout; when off, met is false instead. |
| Session | String | No | terminal | Session name. |
| Row | Number | No | Row (1-based) for cursor_at and cursor_leaves. | |
| Column | Number | No | Column (1-based) for cursor_at and cursor_leaves. |
Outputs
| Output | Type | What it is |
|---|---|---|
| met | Boolean | True when the condition was met in time (false only when fail_on_timeout is off). |