exit on escape

This commit is contained in:
anon 2024-03-10 15:22:24 +01:00
parent 0f11caf14e
commit 59caf1479b

3
qckcmd
View File

@ -70,6 +70,9 @@ while true; do
if [[ -z "$INPUT" ]]; then
continue
fi
if [[ "$INPUT" == $'\E' ]]; then
exit 0
fi
if [[ -n "${POINTS[$INPUT]}" ]]; then
echo -e "${BOLD}$ ${POINTS[$INPUT]}${NORMAL}"