You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
360 B

var binding = process.binding('stdio');
if (process.platform === 'win32') {
exports = module.exports = require('tty_win32');
} else {
exports = module.exports = require('tty_posix');
}
exports.isatty = binding.isatty;
exports.setRawMode = binding.setRawMode;
exports.getWindowSize = binding.getWindowSize;
exports.setWindowSize = binding.setWindowSize;