do not draw cursor crosshairs in command buffer pane
This commit is contained in:
parent
ec9b47d113
commit
677c4fd6e1
@ -454,9 +454,12 @@ void BufferPane::draw_cursor(int x, int y, int i, int columns)
|
|||||||
|
|
||||||
void BufferPane::draw_crosshair(int x, int y)
|
void BufferPane::draw_crosshair(int x, int y)
|
||||||
{
|
{
|
||||||
int width = m_window->font()->get_advance();
|
if (!m_command_mode)
|
||||||
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);
|
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()
|
void BufferPane::exit_insert_mode()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user