1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

irc: don't strip monospace color code 0x11 from incoming messages (closes #2073)

This commit is contained in:
Sébastien Helleu
2024-02-16 19:22:28 +01:00
parent 8b6452eb91
commit 162bcb2622
4 changed files with 11 additions and 17 deletions
-3
View File
@@ -258,9 +258,6 @@ irc_color_decode (const char *string, int keep_colors)
underline = 0;
ptr_string++;
break;
case IRC_COLOR_FIXED_CHAR:
ptr_string++;
break;
case IRC_COLOR_REVERSE_CHAR:
if (keep_colors)
{
-3
View File
@@ -50,9 +50,6 @@
#define IRC_COLOR_RESET_CHAR '\x0F' /* reset color/attributes */
#define IRC_COLOR_RESET_STR "\x0F" /* [0F]... */
#define IRC_COLOR_FIXED_CHAR '\x11' /* monospaced font (ignored) */
#define IRC_COLOR_FIXED_STR "\x11" /* [11]...[11] */
#define IRC_COLOR_REVERSE_CHAR '\x16' /* reverse video (fg <--> bg) */
#define IRC_COLOR_REVERSE_STR "\x16" /* [16]...[16] */