diff options
Diffstat (limited to 'src/common/text.c')
-rw-r--r-- | src/common/text.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/common/text.c b/src/common/text.c index 25dd5cf1..c437634e 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -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) { |