Disable icons in terminal by default.

This commit is contained in:
Vincent Zhang 2018-11-26 23:01:03 +08:00
parent 8aeb80f32d
commit 8e02bf5f58

View file

@ -92,9 +92,11 @@ Given ~/Projects/FOSS/emacs/lisp/comint.el
(defvar doom-modeline-python-executable "python" (defvar doom-modeline-python-executable "python"
"What executable of Python will be used (if nil nothing will be showed).") "What executable of Python will be used (if nil nothing will be showed).")
(defvar doom-modeline-icon t (defvar doom-modeline-icon (display-graphic-p)
"Whether show `all-the-icons' or not (if nil nothing will be showed). "Whether show `all-the-icons' or not.
The icons may not be showed correctly on Windows. Disable to make it work.")
Non-nil to show the icons in mode-line.
The icons may not be showed correctly in terminal and on Windows.")
(defvar doom-modeline-major-mode-icon nil (defvar doom-modeline-major-mode-icon nil
"Whether show the icon for major mode. It should respect `doom-modeline-icon'.") "Whether show the icon for major mode. It should respect `doom-modeline-icon'.")