static WINDOW *statuswindow = NULL;
char rc_screen;
-char arg_screen;
#endif
+char arg_screen;
extern int screenheight;
extern int screenwidth;
#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
void wait_indicator(int state) {
- if (!isendwin() && statuswindow) {
+ if (statuswindow && !isendwin()) {
mvwinch(statuswindow, 0, screenwidth - 2);
switch (state) {
wrefresh(mainwindow); /* this puts the cursor back */
}
}
+#else
+void wait_indicator(int state) {}
#endif