We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3c9f0 commit 3b5ff42Copy full SHA for 3b5ff42
tty.lisp
@@ -30,7 +30,7 @@
30
(defvar *color* :auto)
31
(declaim (type color-policy *color*))
32
33
-(defun no-color-p ()
+(defun env-no-color-p ()
34
(uiop:getenvp "NO_COLOR"))
35
36
(-> stream-tty-p (stream (member :input :output))
@@ -86,7 +86,7 @@ if sure, NIL if unsure)."
86
(values nil nil))))
87
88
(defun want-color-p (stream)
89
- (and (not (no-color-p))
+ (and (not (env-no-color-p))
90
(stream-tty-p stream :output)))
91
92
(defun ttyp ()
0 commit comments