diff options
| author | Dax Raad <[email protected]> | 2025-07-28 12:20:37 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-07-28 12:20:37 -0400 |
| commit | 081f100c93a3570f53a996187ea0a52b277f2f20 (patch) | |
| tree | 8e2f904e7d4153b0f29f2b47650ec097386d5ed5 | |
| parent | f2bdb8159fb672763efab31f71c2c25d35057ca8 (diff) | |
| download | opencode-081f100c93a3570f53a996187ea0a52b277f2f20.tar.gz opencode-081f100c93a3570f53a996187ea0a52b277f2f20.zip | |
ignore: tweak
| -rw-r--r-- | packages/tui/internal/components/chat/messages.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tui/internal/components/chat/messages.go b/packages/tui/internal/components/chat/messages.go index a10c13a0f..098a329ba 100644 --- a/packages/tui/internal/components/chat/messages.go +++ b/packages/tui/internal/components/chat/messages.go @@ -368,7 +368,7 @@ func (m *messagesComponent) renderView() tea.Cmd { if reverted { continue } - if part.Text == "" { + if strings.TrimSpace(part.Text) == "" { continue } hasTextPart = true |
