Add interactive menu regression
This commit is contained in:
@@ -96,7 +96,8 @@ main_menu_loop() {
|
||||
local choice
|
||||
while true; do
|
||||
render_main_menu
|
||||
choice=$(prompt_input '请选择 [0-5]' '')
|
||||
prompt_input_capture '请选择 [0-5]' ''
|
||||
choice=${PROMPT_INPUT_RESULT}
|
||||
case ${choice} in
|
||||
1) cmd_list ;;
|
||||
2) cmd_add ;;
|
||||
|
||||
Reference in New Issue
Block a user