Re: Re: Slyedit
By: Digital Man to deon on Fri Jan 22 2021 12:02 pm
Howdy,
DM> I don't have a terminal handy with an obvious method of sending an ASCII
DM> NUL (0), but I certainly got different results upon timeout (as expected)
DM> when using the new K_NUL mode flag and the new sbbs.
So yes, the line you quoted userInput == "" can be changed to userInput == null, and I no longer suffer the ctrl-space abort issue.
I also tested a timeout, and it trapped correctly.
...лоеп
... Never try to out-stubborn a cat.
---
ю Synchronet ю Alterant | an SBBS in Docker on Pi!
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|