Go to file
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
commands commands: move ParseNextPrevMessage error value to its last return value 2019-09-04 16:30:57 -10:00
config all: use fmt.Errorf for fomartting errors 2019-09-04 16:30:57 -10:00
doc Allow custom spinner via config file 2019-08-30 10:32:28 +09:00
filters Strip carriage returns (^M) when filtering emails 2019-08-20 16:05:20 +09:00
lib Add Mouseable 2019-09-11 11:41:34 -04:00
models Factor IMAP-specific structs out of UI models 2019-07-08 16:06:28 -04:00
widgets Add Mouseable 2019-09-11 11:41:34 -04:00
worker all: rewrite references to strings.Index to strings.Contains 2019-09-04 16:30:57 -10:00
.build.yml Add .build.yml 2019-07-07 18:51:51 -04:00
.gitignore Subsitute prefix in aerc.conf for install 2019-05-26 10:27:22 -04:00
LICENSE Add README.md, update license (MIT -2019) 2019-01-13 20:09:07 -05:00
Makefile extract search criteria parsing into the backends 2019-08-29 08:44:10 +09:00
README.md Add notmuch docs 2019-08-08 10:11:20 +09:00
aerc.go Add initial command to end of completions 2019-09-11 11:26:27 -04:00
go.mod upgrade go-message 2019-08-20 09:53:21 +09:00
go.sum upgrade go-message 2019-08-20 09:53:21 +09:00

README.md

aerc

aerc is an email client for your terminal.

Join the IRC channel: #aerc on irc.freenode.net for end-user support, and #aerc-dev for development.

Building

Install the dependencies:

  • go (>=1.12)
  • scdoc

Then compile aerc:

$ make

aerc optionally supports notmuch. To enable it, you need to have a recent version of notmuch, including the header files (notmuch.h). Then compile aerc with the necessary build tags:

$ GOFLAGS=-tags=notmuch make

Installation

# make install
$ aerc

On its first run, aerc will copy the default config files to ~/.config/aerc and show the account configuration wizard.

If you redirect stdout to a file, logging output will be written to that file:

$ aerc > log

Resources

Send patches and questions to ~sircmpwn/aerc@lists.sr.ht.

Subscribe to release announcements on ~sircmpwn/aerc-announce

Bugs & todo here: ~sircmpwn/aerc2