• console.clear()

    From Alterego@1:229/2 to All on Tuesday, October 01, 2019 15:58:27
    From: alterego@ALTERANT.remove-g5n-this

    To: Digital Man
    Re: console.clear()
    By: Digital Man to Alterego on Mon Sep 30 2019 08:04 pm

    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.

    I know there are no pending output to go to the screen.

    It also doesnt matter if the screen stops at line 3, 12 or 24. (I'm sending some pure ANSI to the screen from a file that has been f.read(). Some of the ANSI does have @codes, so it is sent to the screen with console.putmsg(). ...ëîå*

    ... An object never serves the same function as its image- or its real name.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
    --- Synchronet 3.17c-Win32 NewsLink 1.111
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Alterego@1:229/2 to All on Tuesday, October 01, 2019 12:06:55
    From: alterego@ALTERANT.remove-o6a-this

    To: Digital Man
    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.

    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?
    ...ëîå*

    ... Treat her like a lady and she'll always bring you home.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
    --- Synchronet 3.17c-Win32 NewsLink 1.111
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Monday, September 30, 2019 21:04:56
    From: digital.man@vert.synchro.net.remove-104d-this

    To: Alterego
    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 3.17c-Win32 NewsLink 1.111
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)