aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-04-15 21:25:33 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-04-15 21:25:33 +0300
commitc1b5b2c8aab51b2a5b0d29d078e3cb53bb4c46bb (patch)
treee6830b44e3580f9ad81580695627a02b72a3e380 /internal
parentf27d192eb20cbf9cf690a372f342110b7347c8d6 (diff)
parent954f38d589212753e1c767f56b3a3fed9cfacfe2 (diff)
Merge branch 'LucasLarson-clock_mnemonic'
Diffstat (limited to 'internal')
-rw-r--r--internal/wizard.zsh12
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index c2079e52..a89b40f6 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1037,19 +1037,19 @@ function ask_time() {
add_widget 0 flowing -c "%BShow current time?%b"
add_widget 0 print
add_widget 1
- add_widget 0 print -P "%B(1) No.%b"
+ add_widget 0 print -P "%B(n) No.%b"
add_prompt time=
+ add_widget 0 print -P "%B(1) 12-hour format.%b"
+ add_prompt time=$time_12h
add_widget 0 print -P "%B(2) 24-hour format.%b"
add_prompt time=$time_24h
- add_widget 0 print -P "%B(3) 12-hour format.%b"
- add_prompt time=$time_12h
add_widget 0 print -P "(r) Restart from the beginning."
- ask 123r
+ ask n12r
case $choice in
r) return 1;;
- 1) time=;;
+ n) time=;;
+ 1) time=$time_12h; options+='12h time';;
2) time=$time_24h; options+='24h time';;
- 3) time=$time_12h; options+='12h time';;
esac
return 0
}