[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Non blocking user input
- From: Philipp Janda <siffiejoe@...>
- Date: Fri, 21 Mar 2014 02:37:22 +0100
Am 20.03.2014 19:19 schröbte Victor Bombi:
The point is that there's no platform-independent way of doing this....
Yes, with luaLanes
LuaLanes isn't platform independent (although it runs on Windows and
POSIX at least). Additionally, while you can avoid blocking your program
via an extra thread, you might still have to wait for a newline
character, before any key presses are signaled to you (terminal input
usually is line-buffered).
If you are on a POSIX machine, see here for a possible solution using