2 Commits

Author SHA1 Message Date
egutierrez a3928cf2db fix(0132): cross-platform demos + auto-launch + black bg prompt
- Demo 1 (one-shot): auto-launch al primer frame, sin boton Run.
  Linux: bash; Windows: cmd.exe con "echo hello && date /t && dir /b %TEMP%"
- Demo 2 (interactive): auto-launch al entrar al tab. Sin boton Open shell.
  Linux: bash; Windows: cmd.exe. Boton Close/Reopen post-exit.
- Demo 3 (readonly): Linux tail -f igual que antes.
  Windows: panel readonly con cmd.exe one-shot + mensaje informativo.
- shell_exists() helper para mostrar error si el binario no existe.
- Render: fondo negro + prompt "$ " implementados en terminal_panel.cpp.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 23:48:29 +02:00
egutierrez 9979d74217 feat(0132): add terminal_panel demo (oneshot, interactive, readonly)
Add demos_terminal.cpp con 3 demos del modulo terminal_panel:
- Demo 1: one-shot spawn bash, echo hello; date; ls /tmp
- Demo 2: terminal interactivo bash/cmd.exe con input box
- Demo 3: readonly tail -f con boton append

Actualiza CMakeLists.txt con ansi_parser + terminal_panel + -lutil (Linux).
Actualiza demos.h + main.cpp con entry "Terminal" en el sidebar.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 23:34:56 +02:00