mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 01:30:19 +00:00
Implement support for strikethrough text.
https://defs.ircdocs.horse/info/formatting.html
This commit is contained in:
@@ -329,6 +329,7 @@ strip_color2 (const char *src, int len, char *dst, int flags)
|
||||
case '\026': /*ATTR_REVERSE: */
|
||||
case '\002': /*ATTR_BOLD: */
|
||||
case '\037': /*ATTR_UNDERLINE: */
|
||||
case '\036': /*ATTR_STRIKETHROUGH: */
|
||||
case '\035': /*ATTR_ITALICS: */
|
||||
if (!(flags & STRIP_ATTRIB)) goto pass_char;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user