abd9e78f02
Pressing `Enter` on a view that has not yet loaded messages (e.g. at startup) would return `nil` from `Selected()`. Accessing `msg.Uid` on a `nil` reference crashes aerc. This patch moves the `msg == nil` check before accessing `msg.Uid` thus avoiding the crash. To test this patch repeatedly press `Enter` on startup. |
||
---|---|---|
commands | ||
config | ||
doc | ||
filters | ||
lib | ||
models | ||
templates | ||
widgets | ||
worker | ||
.build.yml | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
aerc.go | ||
go.mod | ||
go.sum |
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