refactor: use msg.Content for PasteMsg in textinput and textarea

This commit is contained in:
Ayman Bagabas
2025-11-04 14:25:01 -05:00
parent 51876414e2
commit e8fcfc5ff7
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -652,7 +652,7 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
m.updateSuggestions()
case tea.PasteMsg:
m.insertRunesFromUserInput([]rune(msg))
m.insertRunesFromUserInput([]rune(msg.Content))
case pasteMsg:
m.insertRunesFromUserInput([]rune(msg))