aboutsummaryrefslogtreecommitdiff
path: root/lib/tty.js
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@iij.ad.jp>2012-03-28 17:06:10 +0900
committerisaacs <i@izs.me>2012-03-28 20:13:23 -0700
commit238e12af221cfefdfa560ac0e6e80b1d266f2870 (patch)
treef661c6d8e54fedf38265d1fc05a4d7ce36cc6a06 /lib/tty.js
parentb521ff3b4f8e79c5e28a1f4915d4203d8bcb0ab7 (diff)
downloadandroid-node-v8-238e12af221cfefdfa560ac0e6e80b1d266f2870.tar.gz
android-node-v8-238e12af221cfefdfa560ac0e6e80b1d266f2870.tar.bz2
android-node-v8-238e12af221cfefdfa560ac0e6e80b1d266f2870.zip
tty: show deprecated warn of tty.setRawMode()
Diffstat (limited to 'lib/tty.js')
-rw-r--r--lib/tty.js1
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) {