From 2aa0c5f6649d1c7413080f2ae97c5e9cf4611a23 Mon Sep 17 00:00:00 2001 From: Rebecca Kelly Date: Thu, 15 Feb 2024 12:09:56 -0500 Subject: [PATCH] Fix control characters for underline and stroke being reversed --- lib/format/irc2matrix.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/format/irc2matrix.ex b/lib/format/irc2matrix.ex index 9594a30..a07d753 100644 --- a/lib/format/irc2matrix.ex +++ b/lib/format/irc2matrix.ex @@ -346,10 +346,10 @@ defmodule M51.Format.Irc2Matrix do :italic "\x1e" -> - :underlined + :stroke "\x1f" -> - :stroke + :underlined <<0x03, a, b, ?,, c, d>> -> {:color, color2hex((a - ?0) * 10 + (b - ?0)), color2hex((c - ?0) * 10 + (d - ?0))}