Closed pronebird closed 11 years ago
What version of node? For v0.6.x, it was called tty.setRawMode()
instead.
Surprisingly it's 0.8.14 / mac
Hmmmm, what terminal? Are you piping from a file or another program?
On Sunday, November 25, 2012, Andrej Mihajlov wrote:
Surprisingly it's 0.8.14
— Reply to this email directly or view it on GitHubhttps://github.com/TooTallNate/keypress/issues/4#issuecomment-10698051.
It's standard terminal, I think that the problem actually. No I am not piping anything, just ran the app in console. More precisely it's xterm256-color emulation.
Sorry, close the ticket, it's really console issue.
process.stdin.setRawMode(true); ^ TypeError: Object # has no method 'setRawMode'
What am I doing wrong?