diff options
author | Ben Burwell <ben@benburwell.com> | 2019-07-16 13:53:33 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-17 17:29:11 -0400 |
commit | 6473848d87de099b31812f20c7eb181d5c0c3c51 (patch) | |
tree | da24e6f265cb1b01463e7538c7bdb20ff9e9e389 /go.mod | |
parent | dfc048fe285939d9de3b5753f723c935d042cc2b (diff) | |
download | aerc-6473848d87de099b31812f20c7eb181d5c0c3c51.tar.gz |
maildir: Watch for new messages
When a directory is opened, start watching its "new" subdirectory for incoming messages using the fsnotify library. When creation events are detected, run the Unseen routine to move the message from new to cur and add new UIDs to the store, updating the UI's list of directory contents as we go.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod index 2fb4ac8..74ad22d 100644 --- a/go.mod +++ b/go.mod @@ -14,6 +14,7 @@ require ( github.com/emersion/go-message v0.10.4 github.com/emersion/go-sasl v0.0.0-20190704090222-36b50694675c github.com/emersion/go-smtp v0.11.1 + github.com/fsnotify/fsnotify v1.4.7 github.com/gdamore/tcell v1.1.2 github.com/go-ini/ini v1.42.0 github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf |