1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 14:26:46 +00:00

chore: auto format code

This commit is contained in:
Tw93
2025-12-30 15:06:41 +00:00
parent 98afaabcff
commit f33304ae12

View File

@@ -23,7 +23,7 @@ is_interactive() { [[ -t 1 && -r /dev/tty ]]; }
prompt_enter() {
local prompt="$1"
if is_interactive; then
read -r -p "$prompt" </dev/tty || true
read -r -p "$prompt" < /dev/tty || true
else
echo "$prompt"
fi