summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2021-06-24 17:17:14 +0300
committerToomas Soome <tsoome@me.com>2021-06-24 18:05:55 +0300
commit6a8b10fec05a8e99fc3f7ca1dc0f8962a075a165 (patch)
tree2b3c8254c597c51865d412e48d3e0e373e3da3b5
parent3f770aab815d6900f53f0b0f317aaf74a8f95018 (diff)
downloadillumos-joyent-6a8b10fec05a8e99fc3f7ca1dc0f8962a075a165.tar.gz
13876 tem: we should support CSI 38 and 48 sequences for RGB colors (fix SPARC)
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Garrett D'Amore <garrett@damore.org>
-rw-r--r--usr/src/uts/common/io/tem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/tem.c b/usr/src/uts/common/io/tem.c
index 417a989f63..42b34ab37c 100644
--- a/usr/src/uts/common/io/tem.c
+++ b/usr/src/uts/common/io/tem.c
@@ -1000,7 +1000,7 @@ tems_get_initial_color(tem_color_t *pcolor)
* uses the bright white background colour so we
* match it here.
*/
- if (pcolor->bg_color == ANSI_COLOR_WHITE)
+ if (pcolor->bg_color.n == ANSI_COLOR_WHITE)
flags |= TEM_ATTR_BRIGHT_BG;
}
#else