mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-02 18:23:13 +00:00
Add option to retain colors in scrollback
This commit is contained in:
1 parent
89584e565a
commit
ef81a24f64
4 files changed
+12
-2
No files matched your search
+8
-2
@@ -338,7 +338,10 @@ scrollback_load (session *sess)
|
||||
text = strchr (buf + 3, ' ');
|
||||
if (text)
|
||||
{
|
||||
text = strip_color (text + 1, -1, STRIP_COLOR);
|
||||
if (prefs.text_replay_strip_color)
|
||||
{
|
||||
text = strip_color (text + 1, -1, STRIP_COLOR);
|
||||
}
|
||||
fe_print_text (sess, text, stamp);
|
||||
g_free (text);
|
||||
}
|
||||
@@ -373,7 +376,10 @@ scrollback_load (session *sess)
|
||||
text = strchr (buf + 3, ' ');
|
||||
if (text)
|
||||
{
|
||||
text = strip_color (text + 1, -1, STRIP_COLOR);
|
||||
if (prefs.text_replay_strip_color)
|
||||
{
|
||||
text = strip_color (text + 1, -1, STRIP_COLOR);
|
||||
}
|
||||
cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len);
|
||||
if (cleaned_text != NULL)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user