Skip to content
Snippets Groups Projects
Commit 6bc3ea55 authored by deuce's avatar deuce
Browse files

Change how term.height is set (no functional change)

parent 2fc9a134
No related branches found
No related tags found
No related merge requests found
...@@ -14,10 +14,9 @@ int drawwin(void) ...@@ -14,10 +14,9 @@ int drawwin(void)
strcpy(str,"SyncTERM "); strcpy(str,"SyncTERM ");
gettextinfo(&txtinfo); gettextinfo(&txtinfo);
term.width=80; term.width=80;
if(term.nostatus)
term.height=txtinfo.screenheight; term.height=txtinfo.screenheight;
else if(!term.nostatus)
term.height=txtinfo.screenheight-1; term.height--;
if(term.height<24) { if(term.height<24) {
term.height=24; term.height=24;
term.nostatus=1; term.nostatus=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment