summaryrefslogtreecommitdiffstats
path: root/src/calcurse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index dd5abf5..7b94b9b 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -625,6 +625,11 @@ int main(int argc, char **argv)
wins_reset();
}
+ if (want_reload) {
+ want_reload = 0;
+ key_generic_reload();
+ }
+
key = keys_getch(win[KEY].p, &count, &reg);
switch (key) {
case KEY_GENERIC_REDRAW: