Skip to content

Commit 3b5ff42

Browse files
committed
Rename no-color-p to env-no-color-p
1 parent 0f3c9f0 commit 3b5ff42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tty.lisp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
(defvar *color* :auto)
3131
(declaim (type color-policy *color*))
3232

33-
(defun no-color-p ()
33+
(defun env-no-color-p ()
3434
(uiop:getenvp "NO_COLOR"))
3535

3636
(-> stream-tty-p (stream (member :input :output))
@@ -86,7 +86,7 @@ if sure, NIL if unsure)."
8686
(values nil nil))))
8787

8888
(defun want-color-p (stream)
89-
(and (not (no-color-p))
89+
(and (not (env-no-color-p))
9090
(stream-tty-p stream :output)))
9191

9292
(defun ttyp ()

0 commit comments

Comments
 (0)