Explorar el Código

Accept one-letter y/n

bryan hace 1 día
padre
commit
dbf58d14fe
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      installJRMC

+ 1 - 0
installJRMC

@@ -1800,6 +1800,7 @@ ask_ok() {
   local response
   ((YES_SWITCH)) && return 0
   read -n 1 -r -p "$* [y/N]: " response
+  echo
   [[ ${response,,} =~ ^y$ ]]
 }
 execute() {