diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-14 15:33:11 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-15 20:59:13 +0200 |
commit | 599b9f6d468ffb31665d0d97f4ae09ba651d306a (patch) | |
tree | 0a00425ade7fcd9ff218fcaec568dfea0ba1af6f /widgets/aerc.go | |
parent | 77f69501d6483bf94e85cd8b9cb520c3d9175a54 (diff) | |
download | aerc-599b9f6d468ffb31665d0d97f4ae09ba651d306a.tar.gz |
terminal: improve mouse support
Improve terminal mouse support by forwarding mouse events to the
terminal widget. Clicking and dragging are supported.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r-- | widgets/aerc.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index e210916f..7ba1ea4e 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -348,9 +348,6 @@ func (aerc *Aerc) Event(event tcell.Event) bool { return false } case *tcell.EventMouse: - if event.Buttons() == tcell.ButtonNone { - return false - } x, y := event.Position() aerc.grid.MouseEvent(x, y, event) return true |