mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 23:34:12 +03:00
fix not existing lines drawing
This commit is contained in:
parent
fbe8eed3e4
commit
856a870d8b
11
src/main.cc
11
src/main.cc
@ -124,6 +124,12 @@ void draw_window(Window& window)
|
||||
if (position.line >= max_y)
|
||||
break;
|
||||
}
|
||||
|
||||
set_attribute(A_UNDERLINE, 0);
|
||||
set_attribute(A_REVERSE, 0);
|
||||
set_attribute(A_BLINK, 0);
|
||||
set_attribute(A_BOLD, 0);
|
||||
set_color(Color::Blue, Color::Black);
|
||||
while (++position.line < max_y)
|
||||
{
|
||||
move(position.line, 0);
|
||||
@ -131,12 +137,7 @@ void draw_window(Window& window)
|
||||
addch('~');
|
||||
}
|
||||
|
||||
set_attribute(A_UNDERLINE, 0);
|
||||
set_attribute(A_REVERSE, 0);
|
||||
set_attribute(A_BLINK, 0);
|
||||
set_attribute(A_BOLD, 0);
|
||||
set_color(Color::Cyan, Color::Black);
|
||||
|
||||
std::string status_line = window.status_line();
|
||||
move(max_y, max_x - status_line.length());
|
||||
clrtoeol();
|
||||
|
Loading…
Reference in New Issue
Block a user