aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-09-19 15:37:31 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-09-19 18:45:04 -0700
commit555ff00a30b70cb84a767b60e3a5c7015815feae (patch)
treeac196a147b942c345fa5ebd802ca5add774b8139 /screen.cpp
parent6083c6fc725727ebb25c209931a38504f9269c5c (diff)
Initial work to support for term-24bit ("true color")
Diffstat (limited to 'screen.cpp')
-rw-r--r--screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.cpp b/screen.cpp
index 9f1cc6e4..0345ff70 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -1428,7 +1428,7 @@ void s_reset(screen_t *s, screen_reset_mode_t mode)
int non_space_width = wcwidth(omitted_newline_char);
if (screen_width >= non_space_width)
{
- if (output_get_supports_term256())
+ if (output_get_color_support() & color_support_term256)
{
// draw the string in term256 gray
abandon_line_string.append(L"\x1b[38;5;245m");