Skip to content

Commit

Permalink
Fix tty menus on monochrome displays
Browse files Browse the repository at this point in the history
* lisp/faces.el (tty-menu-selected-face): Make sure the selected
menu item stands out even without colors.
  • Loading branch information
Eli-Zaretskii committed Jul 7, 2021
1 parent d35868b commit 6d59484
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lisp/faces.el
Expand Up @@ -2927,9 +2927,12 @@ It is used for characters of no fonts too."
:group 'basic-faces)

(defface tty-menu-selected-face
'((t :background "red"))
'((((class color))
:background "red")
(t :inverse-video t))
"Face for displaying the currently selected item in TTY menus."
:group 'basic-faces)
:group 'basic-faces
:version "28.1")

(defgroup paren-showing-faces nil
"Faces used to highlight paren matches."
Expand Down

0 comments on commit 6d59484

Please sign in to comment.