diff options
Diffstat (limited to 'packages/tui/internal/components')
| -rw-r--r-- | packages/tui/internal/components/textarea/textarea.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/tui/internal/components/textarea/textarea.go b/packages/tui/internal/components/textarea/textarea.go index 0110ae824..6646d2a97 100644 --- a/packages/tui/internal/components/textarea/textarea.go +++ b/packages/tui/internal/components/textarea/textarea.go @@ -1161,8 +1161,6 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { } var cmd tea.Cmd - cmds = append(cmds, cmd) - newRow, newCol := m.cursorLineNumber(), m.col m.virtualCursor, cmd = m.virtualCursor.Update(msg) if (newRow != oldRow || newCol != oldCol) && m.virtualCursor.Mode() == cursor.CursorBlink { @@ -1171,7 +1169,6 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { } cmds = append(cmds, cmd) - m.SetHeight(m.ContentHeight()) return m, tea.Batch(cmds...) } |
