Commit 2670cf80 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(widget-field-face, widget-single-line-field-face):

Define special colors for a tty.
parent c5ba561a
2001-10-17 Eli Zaretskii <eliz@is.elta.co.il>
* wid-edit.el (widget-field-face, widget-single-line-field-face):
Define special colors for a tty.
2001-10-17 Francesco Potorti` <pot@gnu.org>
 
* comint.el (comint-password-prompt-regexp): Make it less
restrictive, letting comint recognise OpenSSH2 passphrase prompts.
 
2001-10-15 John Wiegley <johnw@gnu.org>
2001-10-17 John Wiegley <johnw@gnu.org>
 
* eshell/em-unix.el (eshell/cat): Do a quick test if something is
a regular file, before checking if it is a directory or symlink.
......
......@@ -120,7 +120,12 @@ This exists as a variable so it can be set locally in certain buffers.")
:type 'face
:group 'widget-faces)
(defface widget-field-face '((((class grayscale color)
;; TTY gets special definitions here and in the next defface, because
;; the gray colors defined for other displays cause black text on a black
;; background, at least on light-background TTYs.
(defface widget-field-face '((((type tty))
(:background "yellow3"))
(((class grayscale color)
(background light))
(:background "gray85"))
(((class grayscale color)
......@@ -131,7 +136,9 @@ This exists as a variable so it can be set locally in certain buffers.")
"Face used for editable fields."
:group 'widget-faces)
(defface widget-single-line-field-face '((((class grayscale color)
(defface widget-single-line-field-face '((((type tty))
(:background "green3"))
(((class grayscale color)
(background light))
(:background "gray85"))
(((class grayscale color)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment