Fidonet Portal
To: All
Date: Thu, 21.01.21 19:02
src/sbbs3/inkey.cpp js_console.cpp sbbs.h sbbsdefs.h
Modified Files:
src/sbbs3/inkey.cpp js_console.cpp sbbs.h sbbsdefs.h
Log Message:
Optionally distinguish between timeout and NUL inkey(

send NUL (ASCII 0), e.g. hitting Ctrl-Space in Apple iTerm. Allow users of
inkey(

K_NUL mode flag. In JS, console.inkey(

than "") when the K_NUL mode flag is used and return an empty string ("") upon
receipt of NUL (ASCII 0).The default is the previous behavior where a timeout
and the receipt of a NUL character appear the same to the caller of inkey(

--- SBBSecho 3.12-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)