ncurses: refresh at end of draw_window

This commit is contained in:
Maxime Coste 2012-08-28 22:31:06 +02:00
parent 4cdddb7e6d
commit d5dc5dff7f

View File

@ -142,6 +142,7 @@ void NCursesClient::draw_window(Window& window)
move(max_y, max_x - (int)status_line.length()); move(max_y, max_x - (int)status_line.length());
addstr(status_line.c_str()); addstr(status_line.c_str());
last_status_length = (int)status_line.length(); last_status_length = (int)status_line.length();
refresh();
} }
Key NCursesClient::get_key() Key NCursesClient::get_key()