From 7648bee12e4dd610ebebbab798a297d2e12b8bdb Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 14 Oct 2017 12:30:28 -0400 Subject: [PATCH] draw control characters in different color font --- src/gui/BufferPane.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/BufferPane.cc b/src/gui/BufferPane.cc index e83f655..8dd0d76 100644 --- a/src/gui/BufferPane.cc +++ b/src/gui/BufferPane.cc @@ -201,8 +201,8 @@ void BufferPane::draw_buffer_character(uint32_t character, int screen_row, int s m_window->gl()->draw_rect(win_x(x + 2), win_y(y), m_window->font()->get_advance() * 2 - 4, 1, 0, 0.7, 1.0, 1.0); - m_window->gl()->draw_character(win_x(x), win_y(y), '^', *m_window->font(), 1.0, 1.0, 1.0, 1.0); - m_window->gl()->draw_character(win_x(col_x(screen_column + 1)), win_y(y), character | 0x40u, *m_window->font(), 1.0, 1.0, 1.0, 1.0); + m_window->gl()->draw_character(win_x(x), win_y(y), '^', *m_window->font(), 0.0, 0.7, 1.0, 1.0); + m_window->gl()->draw_character(win_x(col_x(screen_column + 1)), win_y(y), character | 0x40u, *m_window->font(), 0.0, 0.7, 1.0, 1.0); } else {