Commit 7e93eae2 authored by rswindell's avatar rswindell
Browse files

Don't word-wrap ANSI-encoded message text.

parent 7cf08b7d
......@@ -276,7 +276,8 @@ bool sbbs_t::show_msg(smb_t* smb, smbmsg_t* msg, long p_mode, post_t* post)
return false;
char* p = txt;
if(!(console&CON_RAW_IN)) {
if(strstr(txt, "\x1b[") == NULL) // Don't word-wrap raw ANSI text
p = smb_getplaintext(msg, txt);
if(p == NULL)
p = txt;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment