Browse Source

Fix clearing bottom ui bar empty rows

master
cancel 6 years ago
parent
commit
b9b9db8d01
  1. 4
      tui_main.c

4
tui_main.c

@ -171,6 +171,10 @@ int main(int argc, char** argv) {
// clear(); // clear();
draw_debug_field(stdscr, 0, 0, field.buffer, field.height, field.width, 8, draw_debug_field(stdscr, 0, 0, field.buffer, field.height, field.width, 8,
8); 8);
for (int y = field.height; y < term_height - 1; ++y) {
wmove(stdscr, y, 0);
wclrtoeol(stdscr);
}
draw_ui_bar(stdscr, term_height - 1, 0, input_file, tick_num); draw_ui_bar(stdscr, term_height - 1, 0, input_file, tick_num);
//refresh(); //refresh();

Loading…
Cancel
Save