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

    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
  • 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