diff options
author | Robin Jarry <robin@jarry.cc> | 2023-03-15 15:57:32 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-03-15 16:22:24 +0100 |
commit | 6cd8441c0d23d04007020b9f5908c03db7138f69 (patch) | |
tree | 49d3c6e84be2f2adb10304af02fd9e5c16a9a7af | |
parent | 683b06105ef977e9361c359511457bc63d375705 (diff) | |
download | aerc-6cd8441c0d23d04007020b9f5908c03db7138f69.tar.gz |
config: fix default value of next-message-on-delete
The default value should be true as stated in the docs.
Fixes: b63c93563c62 ("config: use reflection to map ini keys to struct fields")
Reported-by: Kirill Chibisov <contact@kchibisov.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Kirill Chibisov <contact@kchibisov.com>
-rw-r--r-- | config/ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ui.go b/config/ui.go index 4b2a303a..c67502da 100644 --- a/config/ui.go +++ b/config/ui.go @@ -56,7 +56,7 @@ type UIConfig struct { DirListTree bool `ini:"dirlist-tree"` DirListCollapse int `ini:"dirlist-collapse"` Sort []string `ini:"sort" delim:" "` - NextMessageOnDelete bool `ini:"next-message-on-delete"` + NextMessageOnDelete bool `ini:"next-message-on-delete" default:"true"` CompletionDelay time.Duration `ini:"completion-delay" default:"250ms"` CompletionMinChars int `ini:"completion-min-chars" default:"1"` CompletionPopovers bool `ini:"completion-popovers" default:"true"` |