pub fn Terminal(props: TerminalProps) -> impl IntoViewExpand description
A scrollback terminal that renders lines (auto-scrolling to the bottom as
they change) with a prompt sigil (defaulting to $) and an input row that
fires on_input with the trimmed draft when Enter is pressed.
§Required Props
- lines:
impl Into<Signal<Vec<TerminalLine>>> - on_input:
Callback<String>
§Optional Props
- prompt:
impl Into<String>