Skip to content

Commit

Permalink
lib/tty.js: expose hasColor and getColorDepth directly
Browse files Browse the repository at this point in the history
  • Loading branch information
thunder-coding committed Sep 28, 2021
1 parent 2caa308 commit 69b6d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tty.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ WriteStream.prototype.getWindowSize = function() {
return [this.columns, this.rows];
};

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

0 comments on commit 69b6d1d

Please sign in to comment.