• src/sbbs3/getkey.cpp

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Oct 30 19:20:41 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7839b5d1a0c691ba3f5964b8
    Modified Files:
    src/sbbs3/getkey.cpp
    Log Message:
    getkey: erase the spinning cursor when aborted while waiting for input

    When an abort (e.g. Ctrl-C) arrived while getkey() was waiting in inkey()
    with a spinning cursor (K_SPIN), getkey() returned without erasing the
    spinner. Only the abort check at the top of the loop erased it. pause()
    then backspaced over its prompt using the prompt's own length, so the
    first of those backspaces was spent on the spinner and the prompt's first character (e.g. the '[' of "[Hit a key]") was left on the screen.

    Loop back to the top-of-loop abort check instead, which erases the
    spinner before returning.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)