feat: add Go TUI rendering and terminal helper functions

7 funciones Go del dominio tui: apply_gradient (gradiente de color en texto),
draw_box y draw_separator (renderizado de cajas y separadores con box_chars),
load_ascii_art (carga de arte ASCII desde archivos), normalize_terminal_output
y strip_ansi (limpieza de salida de terminal), read_dir_autocomplete
(autocompletado de rutas de directorio). Incluye box_chars.go como helper
de caracteres Unicode para bordes.
This commit is contained in:
2026-04-12 13:54:54 +02:00
parent 93ef4b8010
commit ebba1e4e02
15 changed files with 541 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package tui
// Box drawing characters for TUI borders and separators.
const (
BoxTL = "╔"
BoxTR = "╗"
BoxBL = "╚"
BoxBR = "╝"
BoxH = "═"
BoxV = "║"
BoxML = "╠"
BoxMR = "╣"
BoxSep = "─"
)