tty.setRawMode is replaced by process.stdin.setRawMode #1

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
@samtsai

samtsai commented Jun 26, 2012

in the latest version of node. - similar to pull request in node-charm

tty.setRawMode is replaced by process.stdin.setRawMode in the latest …
…version of node. - similar to pull request in node-charm
@jswartwood

This comment has been minimized.

Show comment
Hide comment
@jswartwood

jswartwood Jun 26, 2012

+1

+1

@jswartwood

This comment has been minimized.

Show comment
Hide comment
@jswartwood

jswartwood Jul 10, 2012

This would obviously break node < 0.8; what is the typical strategy for not breaking with old versions of node? I assume the package.json should also be updated to specify "engine": ">= 0.8".

This would obviously break node < 0.8; what is the typical strategy for not breaking with old versions of node? I assume the package.json should also be updated to specify "engine": ">= 0.8".

@jswartwood

This comment has been minimized.

Show comment
Hide comment
@jswartwood

jswartwood Aug 6, 2012

This can be closed as of 06c5eaa

This can be closed as of 06c5eaa

@samtsai samtsai closed this Aug 6, 2012

@jaymedavis

This comment has been minimized.

Show comment
Hide comment
@jaymedavis

jaymedavis Feb 17, 2013

Did something break this? This does not appear to work in version 0.8.8.

  process.stdin.setRawMode(true);
                ^

TypeError: Object # has no method 'setRawMode'

Did something break this? This does not appear to work in version 0.8.8.

  process.stdin.setRawMode(true);
                ^

TypeError: Object # has no method 'setRawMode'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment