Commit f4f6d5d6 authored by rswindell's avatar rswindell

Don't support split-screen if user's terminal has fewer than 80 columns.

parent 8e92a545
......@@ -803,7 +803,7 @@ void sbbs_t::privchat(bool local)
return;
if(((sys_status&SS_USERON && useron.chat&CHAT_SPLITP) || !(sys_status&SS_USERON))
&& term_supports(ANSI) && rows>=24)
&& term_supports(ANSI) && rows>=24 && cols>=80)
sys_status|=SS_SPLITP;
else
sys_status&=~SS_SPLITP;
......
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