summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/app
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-08-28 10:55:47 -0500
committerGitHub <[email protected]>2025-08-28 10:55:47 -0500
commit37cf262094da151da0a066ae92cd77e12feb33ec (patch)
tree25b46bf554b7123d8d2bd0136a826c39ad84b3c4 /packages/tui/internal/app
parentaa9ab0a30452f8ee0cc7dd0d5d170600bad26f8a (diff)
downloadopencode-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.go2
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
})