Commit 51bb36a5 authored by rswindell's avatar rswindell
Browse files

Enable plain-text only display of MIME encoded messages (posts and email) by

default (in the Terminal server), use Raw I/O mode (Ctrl-Z) to toggle this
behavior off/on (same as word-wrap toggle).
parent bc9b40c4
......@@ -177,7 +177,7 @@ void sbbs_t::show_msg(smbmsg_t* msg, long mode)
show_msghdr(msg);
if((text=smb_getmsgtxt(&smb,msg,/* body and hfields: */0))!=NULL) {
if((text=smb_getmsgtxt(&smb,msg,(console&CON_RAW_IN) ? 0:GETMSGTXT_PLAIN)) != NULL) {
if(!(console&CON_RAW_IN))
mode|=P_WORDWRAP;
putmsg(text, mode);
......
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