tty: show deprecated warn of tty.setRawMode()
This commit is contained in:
parent
b521ff3b4f
commit
238e12af22
@ -37,6 +37,7 @@ exports.setRawMode = function(flag) {
|
||||
}
|
||||
process.stdin.setRawMode(flag);
|
||||
};
|
||||
module.deprecate('setRawMode', 'Use `tty.ReadStream#setRawMode` instead.');
|
||||
|
||||
|
||||
function ReadStream(fd) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user