summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 1d27bce..d9f3737 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -222,7 +222,12 @@ status_ask_choice(const char *message, const char choice[], int nb_choice)
return i;
if (ch == ESCAPE)
return (-1);
- /* TODO: handle resize events. */
+ if (resize)
+ {
+ resize = 0;
+ wins_reset ();
+ status_mesg (message, avail_choice);
+ }
}
}