• src/sbbs3/getkey.cpp js_console.cpp sbbs.h

    From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Mon Mar 13 18:31:32 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/818005a0ecbe3972cf246538
    Modified Files:
    src/sbbs3/getkey.cpp js_console.cpp sbbs.h
    Log Message:
    Enhance pause method flexibility (both C++ and JS)

    sbbs_t::pause() and JS console.pause()...
    now excepts an optional set_abort argument (default is true) which controls whether this method will set the global console-output aborted flag (sys_status&SS_ABORT in C++, console.aborted in JS) when the user hits the Quit or No key at the pause prompt.

    This method now returns a bool: false if the user entered No, Quit, or Ctrl-C at the pause prompt.

    Nothing makes use of either of these new pause() features yet, but its generally better to not set/rely on global state wherever possible.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Mar 1 15:55:47 2020
    src/sbbs3 getkey.cpp 1.57 1.58 js_console.cpp 1.141 1.142 sbbs.h 1.556 1.557 Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv11616

    Modified Files:
    getkey.cpp js_console.cpp sbbs.h
    Log Message:
    sbbs_t::yesno() and noyes() and their JS equivalents (console.yesno/noyes)
    now accept an optional print-mode (a.k.a. pmode) argument to provide more control over the printing that happens in these functions/methods.
    The immediate use is for P_NOCRLF to stop the newline from being printed
    after a yes or no response (e.g. in a full-screen UI), but there could be other uses.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu May 7 23:04:56 2020
    src/sbbs3 getkey.cpp 1.61 1.62 js_console.cpp 1.148 1.149 sbbs.h 1.566 1.567 Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28923

    Modified Files:
    getkey.cpp js_console.cpp sbbs.h
    Log Message:
    Add sbbs_t::keybuf_space() and keybuf_level()
    and JS console.keyboard_buffer_space() and keyboard_buffer_level()
    ... for tracking the number of character spaces used and available in the the (unget)keyboard input buffer.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net