2159eb876e
It's accessed by the goroutine which increments it and the goroutine that draws the widget at the same time. Use atomic instead. Write at 0x00c00000ebc0 by goroutine 7: git.sr.ht/~sircmpwn/aerc2/widgets.(*Spinner).Start.func1() /home/simon/src/aerc2/widgets/spinner.go:50 +0x169 Previous read at 0x00c00000ebc0 by main goroutine: [failed to restore the stack] Goroutine 7 (running) created at: git.sr.ht/~sircmpwn/aerc2/widgets.(*Spinner).Start() /home/simon/src/aerc2/widgets/spinner.go:44 +0x8b git.sr.ht/~sircmpwn/aerc2/widgets.NewDirectoryList() /home/simon/src/aerc2/widgets/dirlist.go:37 +0x286 git.sr.ht/~sircmpwn/aerc2/widgets.NewAccountView() /home/simon/src/aerc2/widgets/account.go:50 +0x5ca git.sr.ht/~sircmpwn/aerc2/widgets.NewAerc() /home/simon/src/aerc2/widgets/aerc.go:60 +0x800 main.main() /home/simon/src/aerc2/aerc.go:65 +0x33e |
||
---|---|---|
commands | ||
config | ||
contrib | ||
lib | ||
widgets | ||
worker | ||
.gitignore | ||
LICENSE | ||
README.md | ||
aerc.go | ||
go.mod | ||
go.sum |
README.md
aerc
aerc is a work in progress email client for your terminal.
It is not yet suitable for daily use.
Building
go build
Usage
$ mkdir ~/.config/aerc
$ cp config/*.conf ~/.config/aerc/
$ vim ~/.config/aerc/accounts.conf
Fill in your account details and configure the rest to taste, then run aerc2
.
Contributing
Send patches to ~sircmpwn/public-inbox@lists.sr.ht.
Bugs & todo here: ~sircmpwn/aerc2