From dd3ff4df11636e2d05326eaed29e07470b7ac67a Mon Sep 17 00:00:00 2001 From: Lukas Dullinger <129603980+itislu@users.noreply.github.com> Date: Wed, 22 May 2024 19:50:22 +0200 Subject: [PATCH] improve: Add an empty line after campus selection This follows an observation that users try to use the arrow keys to move up if the prompt is immediately below the campus selection list. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index f7e1139..aa0aae0 100755 --- a/install.sh +++ b/install.sh @@ -174,6 +174,7 @@ if { [[ -z "$home_max_size" ]] || [[ $home_max_size -eq 0 ]]; } && while true; do pretty_print "${bold}Choose your campus:${reset}" printf "%b\n" "${prompt_campuses[@]}" + printf "\n" read -rp "> " # Check if input is a valid number of the list