Skip to content

Commit

Permalink
improve: Add an empty line after campus selection
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
itislu committed May 22, 2024
1 parent 6da777f commit dd3ff4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd3ff4d

Please sign in to comment.