diff options
author | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2012-03-28 17:06:10 +0900 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-28 20:13:23 -0700 |
commit | 238e12af221cfefdfa560ac0e6e80b1d266f2870 (patch) | |
tree | f661c6d8e54fedf38265d1fc05a4d7ce36cc6a06 /lib/tty.js | |
parent | b521ff3b4f8e79c5e28a1f4915d4203d8bcb0ab7 (diff) | |
download | node-new-238e12af221cfefdfa560ac0e6e80b1d266f2870.tar.gz |
tty: show deprecated warn of tty.setRawMode()
Diffstat (limited to 'lib/tty.js')
-rw-r--r-- | lib/tty.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tty.js b/lib/tty.js index 5777ab09de..c5fa64c3bb 100644 --- a/lib/tty.js +++ b/lib/tty.js @@ -37,6 +37,7 @@ exports.setRawMode = function(flag) { } process.stdin.setRawMode(flag); }; +module.deprecate('setRawMode', 'Use `tty.ReadStream#setRawMode` instead.'); function ReadStream(fd) { |