'use strict';
exports.isatty = functionisatty () {
returntrue;
};
exports.getWindowSize = functiongetWindowSize () {
if ('innerHeight'inglobal) {
return [global.innerHeight, global.innerWidth];
}
// In a Web Worker, the DOM Window is not available.return [640, 480];
};