Skip to content

Commit 37e0a70

Browse files
authored
fix(tui): mouse wheel escape codes leaking into input
1 parent 774dcb6 commit 37e0a70

File tree

1 file changed

+1
-0
lines changed
  • packages/tui/internal/tui

1 file changed

+1
-0
lines changed

packages/tui/internal/tui/tui.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
189189
updated, cmd := a.messages.Update(msg)
190190
a.messages = updated.(chat.MessagesComponent)
191191
cmds = append(cmds, cmd)
192+
return a, tea.Batch(cmds...)
192193
case tea.BackgroundColorMsg:
193194
styles.Terminal = &styles.TerminalInfo{
194195
BackgroundIsDark: msg.IsDark(),

0 commit comments

Comments
 (0)