componente · v0.3.0+

TerminalWindow

Caja Mac-style (titlebar con 3 dots rojo/amarillo/verde + título central) que envuelve TerminalLine. Pinta cursor parpadeante final automáticamente.

Default

uso
<TerminalWindow
  title="~/taller-graphify-starter · zsh"
  lines={[
    { type: 'cmd', text: 'uv tool install graphifyy' },
    { type: 'ok',  text: '✓ installed graphifyy 0.8.2' }
  ]}
  minHeight={280}
/>

Sin cursor parpadeante

uso
<TerminalWindow showCursor={false} minHeight={180} lines={[...]} />

Props

PropTipoDefaultDescripción
titlestring'~ · zsh'Caption central de la titlebar.
lines{ type, text }[][]Líneas (renderizadas con TerminalLine).
showCursorbooleantruePinta el prompt parpadeante final.
minHeightnumber | string480Alto mínimo (px o cualquier unidad CSS).
childrenSnippetAlternativa a lines: meter <TerminalLine>s a mano.