Make all-the-icons return empty string in tty #941
This commit is contained in:
parent
213f7f369e
commit
56d7f70b2f
1 changed files with 3 additions and 2 deletions
|
@ -116,8 +116,9 @@ size.")
|
|||
all-the-icons-wicon all-the-icons-material all-the-icons-alltheicon)
|
||||
:init
|
||||
(defun doom*disable-all-the-icons-in-tty (orig-fn &rest args)
|
||||
(when (display-graphic-p)
|
||||
(apply orig-fn args)))
|
||||
(if (display-graphic-p)
|
||||
(apply orig-fn args)
|
||||
""))
|
||||
:config
|
||||
;; all-the-icons doesn't work in the terminal, so we "disable" it.
|
||||
(dolist (fn '(all-the-icons-octicon all-the-icons-material
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue