Reference
Terminal
A quiet console: the transcript above, the prompt line below. The component owns only the reading and the caret — each entered line leaves as an event, and the caller answers through the lines prop, so history stays theirs to shape.
Entry · Input · Line · Root · Scroll · Sigil
#Terminal
A quiet console: the transcript above, the prompt line below. The component owns only the reading and the caret — each entered line leaves as an event, and the caller answers through the lines prop, so history stays theirs to shape.
| Prop | Type | Default | Description |
|---|---|---|---|
lines | Array as PropType<string[]> | () => [] | The transcript, oldest line first. |
prompt | String | "$" | The sigil at the head of the entry line. |
placeholder | String | undefined | — |
label | String | undefined | — |