From 6add75170c960eb2ab76da9281044c88ee8bf764 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Francesco=20Potort=C3=AC?= Date: Fri, 13 Sep 2002 13:30:09 +0000 Subject: [PATCH] (pong-border-options): Use color on tty if available. Reset color on tty to be [0.5 0.5 0.5]. --- lisp/play/pong.el | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lisp/play/pong.el b/lisp/play/pong.el index 07c72a129a3..11aad3b6ea3 100644 --- a/lisp/play/pong.el +++ b/lisp/play/pong.el @@ -75,7 +75,7 @@ :type 'color) (defcustom pong-border-color "white" - "*Color used for pong balls." + "*Color used for pong borders." :group 'pong :type 'color) @@ -155,12 +155,9 @@ '(((glyph colorize) (t ?\+)) ((color-x color-x) - (mono-x grid-x)) - ;; The colors used to be [0.5 0.5 0.5], but that produces a black - ;; color on 8-color tty's, which would make the border invisible. - ;; 0.51 produces white on such tty's, and at the same time has - ;; almost no effect on X and similar displays. - (((glyph color-x) [0.51 0.51 0.51]) + (mono-x grid-x) + (color-tty color-tty)) + (((glyph color-x) [0.5 0.5 0.5]) (color-tty pong-border-color)))) (defconst pong-blank 0) -- 2.39.5