aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-15 01:01:25 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-15 01:01:25 -0800
commite2fe8730496eb8019e8f8ace211eeaa596534942 (patch)
treed8e83c418267ac9d03864d7cfc73287d7de96c79 /screen.cpp
parent9da3d890e4af72b0ca231e9f4f208c3eb2b7d674 (diff)
Change highlight colors from a bitmask into a combination enum / bitmask
so that we can support more than 16 color specifications.
Diffstat (limited to 'screen.cpp')
-rw-r--r--screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.cpp b/screen.cpp
index 711aebab..68b78ebf 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -668,7 +668,7 @@ static void s_move(screen_t *s, data_buffer_t *b, int new_x, int new_y)
/**
Set the pen color for the terminal
*/
-static void s_set_color(screen_t *s, data_buffer_t *b, int c)
+static void s_set_color(screen_t *s, data_buffer_t *b, highlight_spec_t c)
{
scoped_buffer_t scoped_buffer(b);
@@ -1232,7 +1232,7 @@ void s_write(screen_t *s,
const wcstring &right_prompt,
const wcstring &commandline,
size_t explicit_len,
- const int *colors,
+ const highlight_spec_t *colors,
const int *indent,
size_t cursor_pos)
{