Subj : console.clear()
To   : Mindless Automaton
From : echicken
Date : Wed Aug 26 2015 12:53 pm

 Re: console.clear()
 By: Mindless Automaton to DOVE-Net.Programming_(Javascript) on Wed Aug 26 2015 11:31:17

MA> I am messing around with the login.js and if I add console.clear() after
MA> console.print("\r\nNN:\b\b\bLogin: \1w"); I get a [Hit a Key] pause
MA> prompt before it clears.

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.

---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com