1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-28 09:36:45 +02:00

make ctrl-L force refresh the window

This commit is contained in:
Jfreegman
2014-10-01 16:24:36 -04:00
parent b46a77f977
commit e7697b8fba
6 changed files with 14 additions and 3 deletions

View File

@ -496,6 +496,13 @@ ToxWindow *get_window_ptr(int i)
return toxwin;
}
void force_refresh(WINDOW *w)
{
wclear(w);
endwin();
refresh();
}
int get_num_active_windows(void)
{
return num_active_windows;