[Issue 5833] To read a key

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 25 11:09:48 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5833


hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx


--- Comment #2 from hsteoh at quickfur.ath.cx 2012-02-25 11:09:45 PST ---
This won't work on Unixen unless you also change the terminal mode to cbreak,
because otherwise the terminal doesn't even send the keypress until the end of
line.

But once you start enabling cbreak, then you have to worry about disabling it,
and you start to reinvent ncurses...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list