5f4f1f7508
Añade campos params y output al frontmatter YAML de las 506 funciones del registry. Cada parámetro tiene descripción semántica (qué representa, unidades, rango típico) y cada función describe qué produce su output. Permite a agentes razonar sobre cadenas de composición (ej: prices → log_return → sharpe_ratio) sin leer código.
35 lines
772 B
Markdown
35 lines
772 B
Markdown
---
|
|
name: show_cursor
|
|
kind: function
|
|
lang: go
|
|
domain: tui
|
|
version: "1.0.0"
|
|
purity: pure
|
|
signature: "func ShowCursor() string"
|
|
description: "Devuelve el codigo de escape ANSI para mostrar el cursor del terminal."
|
|
tags: [tui, ansi, terminal, cursor]
|
|
uses_functions: []
|
|
uses_types: []
|
|
returns: []
|
|
returns_optional: false
|
|
error_type: ""
|
|
imports: []
|
|
params: []
|
|
output: "string: código ANSI para mostrar el cursor"
|
|
tested: false
|
|
tests: []
|
|
test_file_path: ""
|
|
file_path: "functions/tui/show_cursor.go"
|
|
---
|
|
|
|
## Ejemplo
|
|
|
|
```go
|
|
fmt.Print(ShowCursor())
|
|
// Restaura la visibilidad del cursor del terminal
|
|
```
|
|
|
|
## Notas
|
|
|
|
Usa la secuencia DECTCEM (ESC[?25h) del estandar VT220. Complemento de HideCursor. Llamar siempre al finalizar la aplicacion para restaurar el estado del terminal.
|