Use the keypress module, it supports mouse events too - https://github.com/TooTallNate/keypress
On Fri, Jun 14, 2013 at 12:34 PM, Andrey <andrey.sido...@gmail.com> wrote: > > On Wednesday, 12 June 2013 14:07:54 UTC+10, Nathan Rajlich wrote: >> >> ansi-canvas is badass: >> https://github.com/**TooTallNate/ansi-canvas<https://github.com/TooTallNate/ansi-canvas> >> >> Please have fun and create awesome stuff with it. >> > > Terminal vnc client: https://github.com/sidorares/ansi-vnc :) > No mouse/keyboard currently. Can anyone hint me how to handle mouse events > in tty? I'll try to look at gpm source code. > > >> > Peace. >> > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nodejs+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.