Skip to content

TerminalView

const TerminalView: (props) => ReactElement

Defined in: react/components/data/terminal-view.tsx:26

A nested, scrollable terminal view for streamed command output. Renders ANSI colors/styles and \r progress redraws, but is sandboxed — the escape bytes are parsed into an internal grid and clipped to the widget, so child output can never escape the viewport or corrupt the host app.

<TerminalView content={shellOutput} style={{ height: 12, border: "round" }} />

TerminalViewProps

ReactElement