mscdex / node-ncurses

An ncurses binding for node.js
MIT License
386 stars 25 forks source link

WARNING: ev_io is deprecated, use uv_poll_t #17

Closed ghost closed 11 years ago

ghost commented 12 years ago

I get this warning message: "WARNING: ev_io is deprecated, use uv_poll_t", when running with node v0.8.0.

alejandro commented 12 years ago

+1

fwiw:

tiye commented 12 years ago

same on Ubuntu 12.04 Node v0.8.8 , update this please

➤➤ c examples/
colors.js  deps/  irc.client.js  widget.js
 ∮ 4 
➤➤ node colors.js 
WARNING: ev_io is deprecated, use uv_poll_t
Error opening terminal: xterm.
➤➤ node widget.js 
Usage: node widget.js <MessageBox|InputBox|Calendar|Viewer|ListBox|Marquee|FileViewer>
➤➤ node widget.js InputBox
WARNING: ev_io is deprecated, use uv_poll_t
Error opening terminal: xterm.
➤➤ 
mscdex commented 11 years ago

Please give the master branch a try. If everything seems ok, I'll push out a release.

tiye commented 11 years ago

@mscdex Thanks. I can run the scripts in examples file now, with node v0.8.10 .. I was just starting to learn curses. I wonder if I did wrong or not, every time I use ctrl c to stop the example, the terminal will get into a mess. Is that a bug or just an abuse?

mscdex commented 11 years ago

@jiyinyiyong Yes, that is expected since I'm not handling that key combination in the examples, so the program is not exiting gracefully (you can use reset at the shell prompt to fix the terminal). In the color example, you can press any key to exit. In the widget examples you can press ESC to exit. For the IRC example, I think /quit'ing all windows exits (iirc).

tiye commented 11 years ago

@mscdex Got it :)