aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/message-view.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/message-view.go b/ui/message-view.go
index 1773be0..9d67c7b 100644
--- a/ui/message-view.go
+++ b/ui/message-view.go
@@ -371,6 +371,9 @@ func (view *MessageView) handleUsernameClick(message *messages.UIMessage, prevMe
}
func (view *MessageView) OnMouseEvent(event mauview.MouseEvent) bool {
+ if event.HasMotion() {
+ return false
+ }
switch event.Buttons() {
case tcell.WheelUp:
if view.IsAtTop() {