diff --git a/src/syncterm/window.c b/src/syncterm/window.c index 57d544b44009dd8c4fb9c5ad895131f6ab01781f..3331e9e12220081666f1d3fc5c207c6f1da3ce25 100644 --- a/src/syncterm/window.c +++ b/src/syncterm/window.c @@ -14,10 +14,9 @@ int drawwin(void) strcpy(str,"SyncTERM "); gettextinfo(&txtinfo); term.width=80; - if(term.nostatus) - term.height=txtinfo.screenheight; - else - term.height=txtinfo.screenheight-1; + term.height=txtinfo.screenheight; + if(!term.nostatus) + term.height--; if(term.height<24) { term.height=24; term.nostatus=1;