summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/components/repl
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-07 19:43:31 +0200
committerKujtim Hoxha <[email protected]>2025-04-07 19:43:31 +0200
commitf463ce6694143a8f17953ca029d4c274d0193edd (patch)
tree6cb6c416fb07065303862ac461fcbad3311badb7 /internal/tui/components/repl
parent57a2210d8d81efe43a41aa09538f4e26b6f6f374 (diff)
downloadopencode-f463ce6694143a8f17953ca029d4c274d0193edd.tar.gz
opencode-f463ce6694143a8f17953ca029d4c274d0193edd.zip
improve status message handling
Diffstat (limited to 'internal/tui/components/repl')
-rw-r--r--internal/tui/components/repl/editor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/components/repl/editor.go b/internal/tui/components/repl/editor.go
index cce966ca7..d3e8d2c78 100644
--- a/internal/tui/components/repl/editor.go
+++ b/internal/tui/components/repl/editor.go
@@ -140,7 +140,7 @@ func (m *editorCmp) Send() tea.Cmd {
return func() tea.Msg {
messages, _ := m.app.Messages.List(m.sessionID)
if hasUnfinishedMessages(messages) {
- return util.InfoMsg("Assistant is still working on the previous message")
+ return util.ReportWarn("Assistant is still working on the previous message")
}
a, _ := agent.NewCoderAgent(m.app)