From 70e2dfed16da8d5130460ea15b47701e622f4a9f Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 8 Dec 2022 18:39:35 -0600 Subject: wrap_comments = true --- azalea-chat/src/style.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-chat/src/style.rs') diff --git a/azalea-chat/src/style.rs b/azalea-chat/src/style.rs index cb708982..ed800c71 100755 --- a/azalea-chat/src/style.rs +++ b/azalea-chat/src/style.rs @@ -435,7 +435,8 @@ impl Style { if !before.underlined.unwrap_or(false) && after.underlined.unwrap_or(false) { ansi_codes.push_str(Ansi::UNDERLINED); } - // if strikethrough used to be false/default and now it's true, set strikethrough + // if strikethrough used to be false/default and now it's true, set + // strikethrough if !before.strikethrough.unwrap_or(false) && after.strikethrough.unwrap_or(false) { ansi_codes.push_str(Ansi::STRIKETHROUGH); } -- cgit v1.2.3