Blueno_Termux/myTermux/.scripts/library/signal.sh
2022-04-01 08:36:29 -04:00

16 lines
251 B
Bash
Executable File

#!/usr/bin/env bash
function handleInterruptByUser() {
pkill com.termux
echo -e "
\n[ ${COLOR_WARNING}ERROR${COLOR_BASED} ] > ${COLOR_DANGER}${1}${COLOR_BASED}\n"
setCursor on
read -n 1 -s -r -p "Press any key to exit "
exit 1
}