allow for disabling the filtering mechanism

This commit is contained in:
Berke Viktor
2012-01-20 01:31:53 +01:00
parent a9fb6a18ec
commit c1ec6d1039
5 changed files with 23 additions and 8 deletions

View File

@@ -374,11 +374,14 @@ scrollback_load (session *sess)
if (text)
{
text = strip_color (text + 1, -1, STRIP_COLOR);
cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len);
if (cleaned_text != NULL)
if (prefs.text_nonbmp)
{
g_free (text);
text = cleaned_text;
cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len);
if (cleaned_text != NULL)
{
g_free (text);
text = cleaned_text;
}
}
fe_print_text (sess, text, stamp);
g_free (text);