Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
tty: show deprecated warn of tty.setRawMode()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shigeki Ohtsu authored and isaacs committed Mar 29, 2012
1 parent b521ff3 commit 238e12a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tty.js
Expand Up @@ -37,6 +37,7 @@ exports.setRawMode = function(flag) {
}
process.stdin.setRawMode(flag);
};
module.deprecate('setRawMode', 'Use `tty.ReadStream#setRawMode` instead.');


function ReadStream(fd) {
Expand Down

0 comments on commit 238e12a

Please sign in to comment.