diff --git a/src/gui/BufferPane.cc b/src/gui/BufferPane.cc index 242c964..7959ba5 100644 --- a/src/gui/BufferPane.cc +++ b/src/gui/BufferPane.cc @@ -454,9 +454,12 @@ void BufferPane::draw_cursor(int x, int y, int i, int columns) void BufferPane::draw_crosshair(int x, int y) { - int width = m_window->font()->get_advance(); - int height = m_window->font()->get_line_height(); - m_window->gl()->draw_rect(win_x(x), win_y(y), width, height, 0.1, 0.1, 0.1, 1.0); + if (!m_command_mode) + { + int width = m_window->font()->get_advance(); + int height = m_window->font()->get_line_height(); + m_window->gl()->draw_rect(win_x(x), win_y(y), width, height, 0.1, 0.1, 0.1, 1.0); + } } void BufferPane::exit_insert_mode()