Skip to content

Commit 57223a8

Browse files
tty: expose hasColor and getColorDepth directly
1 parent 8ac9aef commit 57223a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tty.js

Lines changed: 1 addition & 1 deletion
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)