• src/conio/ansi_cio.c ansi_cio.h ciolib.c

    From Rob Swindell to Git commit to sbbs/master on Wed Sep 9 01:01:31 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/db98df2e3436315083d1a480
    Modified Files:
    src/conio/ansi_cio.c ansi_cio.h ciolib.c
    Log Message:
    Don't require a key-press when exiting a UIFC app run in ANSI mode on Win32

    Breaking into a debugger, I found the task was hung in:
    _lock_file(stdin) called from common_flush_all(), so the stream was locked. Simply unlocking it resolves the problem.

    This bug has been around forever and was annoying but non-serious (just required the user/sysop to hit ENTER). So happy it's now fixed.