diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-15 01:01:25 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-15 01:01:25 -0800 |
commit | e2fe8730496eb8019e8f8ace211eeaa596534942 (patch) | |
tree | d8e83c418267ac9d03864d7cfc73287d7de96c79 /screen.cpp | |
parent | 9da3d890e4af72b0ca231e9f4f208c3eb2b7d674 (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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |