Commit e77c1e8c authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(pong-border-options): Make the border colors slightly more bright.

parent e029dcaf
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
   
* play/pong.el (pong-height): Don't use height that exceeds the * play/pong.el (pong-height): Don't use height that exceeds the
frame height. frame height.
(pong-border-options): Make the border colors slightly more
bright.
   
* play/gamegrid.el (gamegrid-display-type): Treat any * play/gamegrid.el (gamegrid-display-type): Treat any
color-capable display as color-x, if display-color-p is fboundp. color-capable display as color-x, if display-color-p is fboundp.
......
...@@ -156,7 +156,11 @@ ...@@ -156,7 +156,11 @@
(t ?\+)) (t ?\+))
((color-x color-x) ((color-x color-x)
(mono-x grid-x)) (mono-x grid-x))
(((glyph color-x) [0.5 0.5 0.5]) ;; 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])
(color-tty pong-border-color)))) (color-tty pong-border-color))))
(defconst pong-blank 0) (defconst pong-blank 0)
......
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