• xtrn/tw2/input.js

    From rswindell@VERT to CVS commit on Tuesday, April 21, 2020 23:24:49
    xtrn/tw2 input.js 1.8 1.9
    Update of /cvsroot/sbbs/xtrn/tw2
    In directory cvs:/tmp/cvs-serv10948

    Modified Files:
    input.js
    Log Message:
    Use console.inkey() correctly. If you only supply one argument, that value is the mode, not the timeout. Here, "100" happens to be 0x64 which includes
    K_SPIN which indicates it was called from getkey(K_SPIN) and since it wasn't, it was removing the last character of the save-line buffer since this code also does gratuitous save/restoreline() calls, resulting in partial ANSI escape sequences being displayed at the command-line. This one too far too long to find. :-(


    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, March 12, 2025 23:27:54
    https://gitlab.synchro.net/main/sbbs/-/commit/69f4a097dff7fefc9204464f
    Modified Files:
    xtrn/tw2/input.js
    Log Message:
    Clear the aborted flag on input

    This fixes the bug whereby if the user ever hit Ctrl-C or hit 'N' at
    a pause prompt, they could never see another menu / display file.

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