[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: ReadKey ?
- From: pj@...
- Date: Tue, 26 Oct 2010 19:41:40 +1000
There's this CPAN module:
"dedicated to providing simple control over terminal driver modes
(cbreak, raw, cooked, etc.,) support for non-blocking reads,
if the architecture allows, and some generalized handy functions
for working with terminals. One of the main goals is to have the
functions as portable as possible"
The Perl and C parts of it are:
Is there a Lua equivalent ?
(I didn't find anything in luarocks.org/repositories/rocks/ ... )
At the moment I just need the GetTerminalSize() function, though
I'd like to do single-char (single-byte will do) kbd input soon...
http://www.pjb.com.au firstname.lastname@example.org (03) 6278 9410
"Was der Meister nicht kann, vermöcht es der Knabe, hätt er
ihm immer gehorcht?" Siegfried to Mime, from Act 1 Scene 2