File indexing completed on 2024-05-19 04:42:04

0001 /*
0002     SPDX-FileCopyrightText: 2014 Denis Steckelmacher <steckdenis@yahoo.fr>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 var stream = require("stream");
0008 
0009 exports.isatty = function (fd) { return true; };
0010 exports.isatty(1);
0011 
0012 exports.setRawMode = function (mode) { return ; };
0013 exports.setRawMode(true);
0014 
0015 /*
0016  * exports.ReadStream
0017  */
0018 function ReadStream() { return ; }
0019 exports.ReadStream = ReadStream;
0020 exports.ReadStream.prototype = stream.Readable;
0021 
0022 exports.ReadStream.prototype.isRaw = true;
0023 
0024 exports.ReadStream.prototype.setRawMode = function (mode) { return ; };
0025 exports.ReadStream.prototype.setRawMode(true);
0026 
0027 
0028 /*
0029  * exports.WriteStream
0030  */
0031 function WriteStream() { return ; }
0032 exports.WriteStream = WriteStream;
0033 exports.WriteStream.prototype = stream.Writable;
0034 
0035 exports.WriteStream.prototype.columns = 1;
0036 
0037 exports.WriteStream.prototype.rows = 1;
0038 
0039