mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 22:06:21 +00:00
Added title bar refresh to main loop
This commit is contained in:
@@ -15,10 +15,16 @@ void create_title_bar(void)
|
||||
title_bar_show(title);
|
||||
}
|
||||
|
||||
void title_bar_refresh(void)
|
||||
{
|
||||
touchwin(title_bar);
|
||||
wrefresh(title_bar);
|
||||
inp_put_back();
|
||||
}
|
||||
|
||||
void title_bar_show(char *title)
|
||||
{
|
||||
wclear(title_bar);
|
||||
mvwprintw(title_bar, 0, 0, " %s", title);
|
||||
wrefresh(title_bar);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user