aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-05-19 21:30:16 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2020-05-24 08:52:08 -0400
commit12514eab7f2d206e967d50d99039bf76f974ba2a (patch)
tree6c4007021156f5795806430d4649ed53bbc9fe96 /src/utils.c
parent92dc069fc4f80c0c2afd542beb012695ad702581 (diff)
downloadcalcurse-12514eab7f2d206e967d50d99039bf76f974ba2a.tar.gz
calcurse-12514eab7f2d206e967d50d99039bf76f974ba2a.zip
Let RETURN set frequency type to current value in repeat command UI
In addition, the prompt text is shortened. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 8c539c3..6f849ea 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -235,6 +235,8 @@ int status_ask_choice(const char *message, const char choice[],
return i + 1;
if (ch == ESCAPE)
return (-1);
+ if (ch == RETURN)
+ return (-2);
if (resize) {
resize = 0;
wins_reset();