joyent/libuv — Issue #288: read watcher for uv
Author: txdv
Created: 2012-01-10 22:49:39+00:00
State: open

libev has a readwatcher - it just notifies if there is at all something to read so the user itself can decide how to read the data.
This would be useful for node-ncurses, since it uses the ev read_watcher to determine if there is something to read and then it uses getch (provided by the curses library) to actually get the data.
So it is impossible to compile node-ncurses on windows.

getch returns an integer of the key pressed including information like weather 'alt', 'ctrl', etc. was pressed or not.
Using the uv approach to read from the TTY object does not take this kind of information into consideration.