@@ -549,7 +549,7 @@ func (m *UI) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
549 // Adjust for chat area position
549 // Adjust for chat area position
550 x -= m.layout.main.Min.X
550 x -= m.layout.main.Min.X
551 y -= m.layout.main.Min.Y
551 y -= m.layout.main.Min.Y
552− if m.chat.HandleMouseUp(x, y) {
552+ if m.chat.HandleMouseUp(x, y) && m.chat.HasHighlight() {
553 cmds = append(cmds, tea.Tick(doubleClickThreshold, func(t time.Time) tea.Msg {
553 cmds = append(cmds, tea.Tick(doubleClickThreshold, func(t time.Time) tea.Msg {
554 if time.Since(m.lastClickTime) >= doubleClickThreshold {
554 if time.Since(m.lastClickTime) >= doubleClickThreshold {
555 return copyChatHighlightMsg{}
555 return copyChatHighlightMsg{}