aboutsummaryrefslogtreecommitdiff
path: root/src/ui_statusbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_statusbar.h')
-rw-r--r--src/ui_statusbar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui_statusbar.h b/src/ui_statusbar.h
index 5139c14..65e9e12 100644
--- a/src/ui_statusbar.h
+++ b/src/ui_statusbar.h
@@ -8,11 +8,11 @@ struct statusbar {
unsigned int y;
unsigned int width;
char *text;
- int (*status_func)(WINDOW *, struct statusbar *);
+ int (*status_func)(WINDOW *, struct statusbar *, bool);
chtype attrs;
};
-typedef int (*status_func)(WINDOW *, struct statusbar *);
+typedef int (*status_func)(WINDOW *, struct statusbar *, bool);
struct statusbar *
init_statusbar(unsigned int y, unsigned int width, chtype attrs, status_func cb_update);