From 12514eab7f2d206e967d50d99039bf76f974ba2a Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Tue, 19 May 2020 21:30:16 +0200 Subject: Let RETURN set frequency type to current value in repeat command UI In addition, the prompt text is shortened. Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- src/utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils.c') 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(); -- cgit v1.2.3-54-g00ecf