Curses is always active at this point, so remove the check. Moreover,
refreshing of all other windows is performed in init_wins(), so move
the call to wrefresh() there to be consistent. Finally, the comment
of this function is rather pointless, so remove that as well.
wrefresh(in.win);
}
-/*
- * update the status bar
- */
static void print_status_bar(void)
{
char *tmp;
- if (!curses_active)
- return;
tmp = para_strdup("para_gui " PACKAGE_VERSION " (hit ? for help)");
wmove(sb.win, 0, 0);
align_str(sb.win, tmp, sb.cols, CENTER);
free(tmp);
- wrefresh(sb.win);
}
/*
//wclear(bot.win);
wnoutrefresh(top.win);
wnoutrefresh(bot.win);
- //wnoutrefresh(sb.win);
print_status_bar();
+ wnoutrefresh(sb.win);
wnoutrefresh(in.win);
wnoutrefresh(sep.win);
doupdate();