From 9a188237a2a3fbe6feb0decaf2bb92d780596b26 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 20 Dec 2022 11:33:47 +0530 Subject: [PATCH] tut/toot.tmpl: Rename SpoilerText to CWText See https://github.com/RasmusLindroth/tut/issues/229. --- tut/.config/tut/toot.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tut/.config/tut/toot.tmpl b/tut/.config/tut/toot.tmpl index a5eda86..e07364a 100644 --- a/tut/.config/tut/toot.tmpl +++ b/tut/.config/tut/toot.tmpl @@ -20,7 +20,7 @@ {{- end }} {{- if .Toot.Edited -}}{{ Color .Style.Subtle }} (edited toot){{ end }} {{ if .Toot.Spoiler -}} -{{ Color .Style.Text }}{{ .Toot.SpoilerText }} +{{ Color .Style.Text }}{{ .Toot.CWText }} {{ if not .Toot.ShowSpoiler }} {{ Color .Style.Subtle }}Press [z[] to show hidden text{{ Color .Style.Text }} {{ end }}