diff --git a/exec/lbshell.js b/exec/lbshell.js index 2c0fa1934526c0aac9f013032ba1cd72477035f8..b37b8825932fcacf05bcf00231491b24266c0647 100644 --- a/exec/lbshell.js +++ b/exec/lbshell.js @@ -2299,7 +2299,7 @@ function cleararea(xpos,ypos,width,height,eol_allowed) bgxo=xpos-1; /* zero-based */ bgyo=ypos-2; /* zero-based and make allowance for top line (The top of BackGround is at line 2) */ bgw=width; - bgh=mtop-ypos; /* Height is here to the message window */ + bgh=height; if(bgyo+bgh>BackGround.height) /* Too high? */ bgh=BackGround.height-bgyo; if(ypos+bgh > mtop)