Press a key
press_keySimulate a single key press, with optional Ctrl, Alt, or Shift, in a focused Limoni terminal widget and return the updated semantic tree after redraw.
Instructions
Sends one key press to the focused widget, then returns the tree after the application redraws. key is a single character or one of: enter, tab, esc, space, backspace, delete, insert, up, down, left, right, home, end, pgup, pgdn, f1–f12.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | ||
| key | Yes | A single character, or a key name such as enter, tab, esc, up, down. | |
| ctrl | No | ||
| shift | No |