diff options
| author | Aiden Cline <[email protected]> | 2025-08-28 10:55:47 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-28 10:55:47 -0500 |
| commit | 37cf262094da151da0a066ae92cd77e12feb33ec (patch) | |
| tree | 25b46bf554b7123d8d2bd0136a826c39ad84b3c4 /packages/tui/internal/app | |
| parent | aa9ab0a30452f8ee0cc7dd0d5d170600bad26f8a (diff) | |
| download | opencode-37cf262094da151da0a066ae92cd77e12feb33ec.tar.gz opencode-37cf262094da151da0a066ae92cd77e12feb33ec.zip | |
fix: tui not showing err toasts (#2290)
Diffstat (limited to 'packages/tui/internal/app')
| -rw-r--r-- | packages/tui/internal/app/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go index b293e5b0b..53272bf90 100644 --- a/packages/tui/internal/app/app.go +++ b/packages/tui/internal/app/app.go @@ -826,7 +826,7 @@ func (a *App) SendCommand(ctx context.Context, command string, args string) (*Ap ) if err != nil { slog.Error("Failed to execute command", "error", err) - return toast.NewErrorToast("Failed to execute command") + return toast.NewErrorToast("Failed to execute command")() } return nil }) |
