Files
fn_registry/functions/tui/run_with_mouse.md
T
egutierrez 47fac22230 chore: auto-commit (799 archivos)
- .claude/CLAUDE.md
- .claude/commands/subagentes.md
- .claude/rules/INDEX.md
- .mcp.json
- bash/functions/cybersecurity/analyze_dns.md
- bash/functions/cybersecurity/audit_http_headers.md
- bash/functions/cybersecurity/audit_ssh_config.md
- bash/functions/cybersecurity/check_firewall.md
- bash/functions/cybersecurity/detect_suspicious_users.md
- bash/functions/cybersecurity/encrypt_file.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 00:28:20 +02:00

40 lines
994 B
Markdown

---
name: run_with_mouse
kind: function
lang: go
domain: tui
version: "1.0.0"
purity: impure
signature: "func RunWithMouseSupport[T tea.Model](model T) core.Result[T]"
description: "Ejecuta un modelo Bubble Tea con soporte de raton habilitado."
tags: [tui, runner, mouse, bubbletea, generic, pendiente-usar]
uses_functions: []
uses_types: [result_go_core]
returns: [result_go_core]
returns_optional: false
error_type: "error_go_core"
imports: [github.com/charmbracelet/bubbletea]
params:
- name: model
desc: "modelo Bubble Tea a ejecutar con soporte de ratón"
output: "Result[T]: modelo final o error"
tested: false
tests: []
test_file_path: ""
file_path: "functions/tui/run_with_mouse.go"
---
## Ejemplo
```go
result := tui.RunWithMouseSupport(myModel)
if result.IsErr() {
log.Fatal(result.Error())
}
finalModel := result.Unwrap()
```
## Notas
Implementacion real en github.com/lucasdataproyects/devfactory/tui. Este stub existe para documentar la firma y mantener el registry.