diff --git a/ui/inputfields.go b/ui/inputfields.go index 2f8db67..74bcf56 100644 --- a/ui/inputfields.go +++ b/ui/inputfields.go @@ -21,6 +21,7 @@ func NewMessageInputField(onMessageInputFieldDone func(key tcell.Key), theme *ut SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey { if event.Key() == tcell.KeyCtrlV { text, _ := clipboard.ReadAll() + text = messageInputField.GetText() + text messageInputField.SetText(text) }