From faeea4ba4eb0ed7f22b698516a023b280a5a192b Mon Sep 17 00:00:00 2001 From: th33xitus Date: Sun, 13 Nov 2022 15:49:56 +0100 Subject: [PATCH] refactor(klipper): set 1 instance as default input Signed-off-by: Dominik Willner --- scripts/klipper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/klipper.sh b/scripts/klipper.sh index ea1579d..a356a76 100644 --- a/scripts/klipper.sh +++ b/scripts/klipper.sh @@ -75,7 +75,7 @@ function start_klipper_setup() { print_dialog_user_select_instance_count regex="^[1-9][0-9]*$" while [[ ! ${input} =~ ${regex} ]]; do - read -p "${cyan}###### Number of Klipper instances to set up:${white} " input + read -p "${cyan}###### Number of Klipper instances to set up:${white} " -i "1" -e input if [[ ${input} =~ ${regex} ]]; then instance_count="${input}"