Skip to content

Commit 69b6d1d

Browse files
lib/tty.js: expose hasColor and getColorDepth directly
1 parent 2caa308 commit 69b6d1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tty.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@ WriteStream.prototype.getWindowSize = function() {
161161
return [this.columns, this.rows];
162162
};
163163

164-
module.exports = { isatty, ReadStream, WriteStream };
164+
module.exports = { isatty, getColorDepth, hasColors, ReadStream, WriteStream };

0 commit comments

Comments
 (0)