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