Subj : Re: console.clear()
To : echicken
From : Mindless Automaton
Date : Wed Aug 26 2015 04:06 pm
On 8/26/2015 12:53 PM, echicken wrote:
> MA> Is it possible to prevent the pause here? I dont seem to get a pause
> MA> when I use console.clear() in other scripts.
>
> If you remove the console.clear() statement, is there still a pause before the
> next bit of output appears in the terminal?
>
> You could try adding a 'console.line_counter = 0;' and/or a 'console.clear();'
> to the top of the script to see if that makes it go away.
>
Resetting line_counter did it. Thanks.
What I am doing is after the CLIENT CONN, etc. info is a printfile a
ansi and then use console.up/down/left/right to position the cursor so
the username and stuff can be entered.
Unfortunately when you just hit enter, everything is moved 1 row and
then the menu is redrawn over that mess.