Re: console.clear()
By: Alterego to Digital Man on Tue Oct 01 2019 11:06 am
Hey DM,
I've noticed that whenver I use console.clear() (to clear the screen and home the cursor), I'm getting a "pause prompt" (Hit a key) before it actually clears the screen and homes the cursor.
If there are potentially unacknowledged/read lines that have been printed on the console, that is normal. Set console.line_counter = 0 if you wish to defeat the auto-pause behavior.
However, if I home the cursor before hand console.gotoxy(0,0) and then call console.clear(), I do not get that pause prompt.
Is this expected?
The line_counter = 0 method would be better. But know that means that some text lines may have not been seen by the user when the screen is being cleared.
digital man
Synchronet/BBS Terminology Definition #15:
CVS = Concurrent Versioning System
Norco, CA WX: 61.6øF, 64.0% humidity, 7 mph E wind, 0.00 inches rain/24hrs
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net