merge answer and newline printfs in yn()
arĉi arcxi@dismail.de
Thu, 20 Jun 2024 17:46:32 +0200
1 files changed,
1 insertions(+),
3 deletions(-)
jump to
M
pa
→
pa
@@ -137,9 +137,7 @@ # Disable raw input, leaving the terminal how we *should*
# have found it. stty echo icanon - [ "$answer" ] && printf '%s' "$answer" - - printf '\n' + printf '%s\n' "$answer" # Handle the answer here directly, enabling this function's # return status to be used in place of checking for '[yY]'