stalep/jreadline — Issue #3: Rewrite input handling
Author: stalep
Created: 2011-11-24 23:03:20+00:00
State: open

Key operations are received as a stream of ints, the problem is when some commands start with a int that is used as a defined command. Eg escape is 27 and on posix systems all arrow keys start with 27+two other ints. Whats needed is a separate thread that parses input and must (within a specified timespan) parse which key operation thats pressed.