We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52eae15 commit bfd59a1Copy full SHA for bfd59a1
packages/tui/internal/components/chat/messages.go
@@ -393,6 +393,9 @@ func (m *messagesComponent) renderView() {
393
394
m.viewport.SetHeight(m.height - lipgloss.Height(m.header))
395
m.viewport.SetContent("\n" + strings.Join(blocks, "\n\n"))
396
+ if m.tail {
397
+ m.viewport.GotoBottom()
398
+ }
399
}
400
401
func (m *messagesComponent) renderHeader() string {
0 commit comments