---
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.
