use a simple rectangle for insert-mode cursor

This commit is contained in:
josh committed 2017-09-19 20:45:56 -04:00
1 parent 5c3a095aeb
commit 382552d25c
1 file changed
+1 -3
+1 -3
View File
@@ -430,9 +430,7 @@ void BufferPane::draw_cursor(int x, int y, int i, int columns)
{
if (i == 0)
{
m_window->gl()->draw_rect(win_x(x), win_y(y), 1, height, 1.0, 0.2, 1.0, 1.0);
m_window->gl()->draw_rect(win_x(x + 1), win_y(y + height - 1), 2, 1, 1.0, 0.2, 1.0, 1.0);
m_window->gl()->draw_rect(win_x(x + 1), win_y(y), 2, 1, 1.0, 0.2, 1.0, 1.0);
m_window->gl()->draw_rect(win_x(x), win_y(y), 3, height, 1.0, 0.2, 1.0, 1.0);
}
}
else if (m_focused)