https://gitlab.synchro.net/main/sbbs/-/commit/864f3554e7b14a2c43459b9e Modified Files: src/conio/curs_cio.c Log Message: Revert the curs_kbhit() peek into the curses input queue (#1223) Reverts 826514e723 (hang-4-prevention, 2026-08-10). It does not fix the input lag it was written for. That lag is not a curses buffering problem. Inside GNU screen, once the application enables mouse reporting (DECSET 1000, 1002 or 1003), screen holds a trailing ESC byte and releases it only when the next input byte arrives, so the ESC never reaches the descriptor and no amount of asking curses for it helps. A raw stdin reader with no curses linked in shows the same hold, and the hold is unbounded - measured past 10 seconds. tmux does not do this. Co-Authored-By: Claude Opus 5 (1M context) --- SBBSecho 3.37-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|