1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 16:42:07 +01:00
aerc/lib
Jeffas f6216bb621 Add Mouseable
This adds the Mouseable interface. When this is implemented for a
component that item can accept and process mouseevents.

At the top level when a mouse event is received it is passed to the
grid's handler and then it trickles down until it reaches a component
that can actually handle it, such as the tablist, dirlist or msglist.

A mouse event is passed so that components can handle other things such
as scrolling with the mousewheel. The components themselves then perform
the necessary actions.

Clicking emails in the messagelist opens them in a new tab.

Textinputs can be clicked to position the cursor inside them.

Mouseevents are not forwarded to the terminal at the moment.

Elements which do not handle mouse events are not required to implement
the Mouseable interface.
2019-09-11 11:41:34 -04:00
..
format Add new-email trigger 2019-07-26 14:00:24 -04:00
ui Add Mouseable 2019-09-11 11:41:34 -04:00
uidstore Create UIDStore package 2019-07-12 11:09:47 -04:00
dirstore.go Move msgstore map to dirstore 2019-07-26 14:15:27 -04:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
msgstore.go widgets: remove redundant key check, delete is no-op if key is empty 2019-09-04 16:30:57 -10:00
oauthbearer.go Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
open_darwin.go Use "open" instead of "xdg-open" on Darwin systems 2019-07-04 10:58:33 -04:00
open.go Use "open" instead of "xdg-open" on Darwin systems 2019-07-04 10:58:33 -04:00
socket.go Fix test failures 2019-07-29 15:44:28 -04:00