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:
@ -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;
|
||||
|
Reference in New Issue
Block a user