diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-08 09:42:07 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-08 09:42:07 +0300 |
| commit | 6ed96c9bd3cb2cd7afb980cf023a0f969651acbe (patch) | |
| tree | 14d43d1624131627c05a363e4d2d6718cdc30937 /bot.go | |
| parent | b5f0eabeea01e4df7df8ee92473e56e10fedba9a (diff) | |
Fix (ctrl+w): avoid msg duplication
Diffstat (limited to 'bot.go')
| -rw-r--r-- | bot.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -887,7 +887,9 @@ out: fmt.Fprint(textView, chunk) respText.WriteString(chunk) // Update the message in chatBody.Messages so it persists during Alt+T - chatBody.Messages[msgIdx].Content = respText.String() + if !r.Resume { + chatBody.Messages[msgIdx].Content += respText.String() + } if cfg.AutoScrollEnabled { textView.ScrollToEnd() } |
