summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/app
diff options
context:
space:
mode:
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
})