Closed ghost closed 11 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.
➤➤
Please give the master branch a try. If everything seems ok, I'll push out a release.
@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?
@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).
@mscdex Got it :)
I get this warning message: "WARNING: ev_io is deprecated, use uv_poll_t", when running with node v0.8.0.