diff options
author | Ed Maste <emaste@FreeBSD.org> | 2022-03-11 21:37:03 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2022-03-12 14:17:29 +0000 |
commit | cf8880d52b8962edeb807a8ee1811d342fafa26d (patch) | |
tree | 3d33d91e9cd18dad57eb228458ffb25704c3a673 /sys/teken/teken.h | |
parent | 66b177e1b4330f7b26bfb4d73bb4cc6581721cc9 (diff) | |
download | src-cf8880d52b8962edeb807a8ee1811d342fafa26d.tar.gz src-cf8880d52b8962edeb807a8ee1811d342fafa26d.zip |
teken: color #3 is yellow not brown - use TC_YELLOW as the name
The console escape code standard (ECMA-48) specifies color #3 (escape
code 33) as yellow. A brown console color is an artifact of the VGA
palette, which replaces dim (but not bright) yellow with brown.
Reviewed by: adrian, imp
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34531
Diffstat (limited to 'sys/teken/teken.h')
-rw-r--r-- | sys/teken/teken.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/teken/teken.h b/sys/teken/teken.h index 994298b0dbc6..7545db9b9cdf 100644 --- a/sys/teken/teken.h +++ b/sys/teken/teken.h @@ -53,7 +53,7 @@ typedef unsigned char teken_color_t; #define TC_BLACK 0 #define TC_RED 1 #define TC_GREEN 2 -#define TC_BROWN 3 +#define TC_YELLOW 3 #define TC_BLUE 4 #define TC_MAGENTA 5 #define TC_CYAN 6 |