feat: 29 funciones TUI — constructores, runners y helpers del dominio tui
16 constructores puros (NewList, NewSpinner, NewProgress, DefaultStyles...), 4 runners impuros (RunModel, RunFullscreen, RunWithMouseSupport, Confirm), 5 print helpers impuros (PrintSuccess/Error/Warning/Info/Muted) y 4 utilidades puras (Quit, ClearScreen, HideCursor, ShowCursor). Stubs que documentan devfactory/tui para el registry.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
---
|
||||
name: hide_cursor
|
||||
kind: function
|
||||
lang: go
|
||||
domain: tui
|
||||
version: "1.0.0"
|
||||
purity: pure
|
||||
signature: "func HideCursor() string"
|
||||
description: "Devuelve el codigo de escape ANSI para ocultar el cursor del terminal."
|
||||
tags: [tui, ansi, terminal, cursor]
|
||||
uses_functions: []
|
||||
uses_types: []
|
||||
returns: []
|
||||
returns_optional: false
|
||||
error_type: ""
|
||||
imports: []
|
||||
tested: false
|
||||
tests: []
|
||||
test_file_path: ""
|
||||
file_path: "functions/tui/hide_cursor.go"
|
||||
---
|
||||
|
||||
## Ejemplo
|
||||
|
||||
```go
|
||||
fmt.Print(HideCursor())
|
||||
// Oculta el cursor del terminal usando DECTCEM
|
||||
```
|
||||
|
||||
## Notas
|
||||
|
||||
Usa la secuencia DECTCEM (ESC[?25l) del estandar VT220. Recordar restaurar el cursor con ShowCursor al finalizar la aplicacion.
|
||||
Reference in New Issue
Block a user