From d4416e74ac64e10249ad085f0bcd12887b077bf2 Mon Sep 17 00:00:00 2001 From: Art Wild Date: Tue, 6 Aug 2019 00:02:21 -0400 Subject: Fix `unread` command This fixes ~sircmpwn/aerc2#195. While `read -t` works fine. The `unread` command is not wired. This patch fixes it. https://todo.sr.ht/~sircmpwn/aerc2/195 --- commands/msg/read.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'commands/msg') diff --git a/commands/msg/read.go b/commands/msg/read.go index 8999627..3497ef1 100644 --- a/commands/msg/read.go +++ b/commands/msg/read.go @@ -63,6 +63,8 @@ func (_ Read) Execute(aerc *widgets.Aerc, args []string) error { } } else if args[0] == "read" { newReadState = true + } else if args[0] == "unread" { + newReadState = false } store.Read([]uint32{msg.Uid}, newReadState, func( msg types.WorkerMessage) { -- cgit 1.4.1-2-gfad0 n> mirror of ~rjarry's aerc fork - a pretty good email clientakspecs <akspecs@tilde.institute>
summary refs log tree commit diff stats
path: root/widgets/tabhost.go
blob: 7c502cb27e435a61f33e48230fe28aadbc561b25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11