From 4bd93fccbf18a855016bd26a3ec8cd9ca7cf5600 Mon Sep 17 00:00:00 2001 From: inwit Date: Sun, 29 Oct 2023 23:45:56 +0100 Subject: fold: add an option to toggle folding Add a toggle option (-t) to :fold/:unfold commands to allow for switching the folding status of a thread. Changelog-Added: Toggle folding with `:fold -t`. Signed-Off-By: inwit Acked-by: Robin Jarry Tested-by: Jason Cox --- worker/types/thread.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worker') diff --git a/worker/types/thread.go b/worker/types/thread.go index b4f5ac5f..fdd2a8e6 100644 --- a/worker/types/thread.go +++ b/worker/types/thread.go @@ -15,7 +15,7 @@ type Thread struct { NextSibling *Thread FirstChild *Thread - Hidden int // if this flag is not zero the message isn't rendered in the UI + Hidden int // if this flag is not zero the message isn't rendered in the UI Deleted bool // if this flag is set the message was deleted // Context indicates the message doesn't match the mailbox / query but -- cgit