exit on escape
This commit is contained in:
parent
0f11caf14e
commit
59caf1479b
3
qckcmd
3
qckcmd
@ -70,6 +70,9 @@ while true; do
|
|||||||
if [[ -z "$INPUT" ]]; then
|
if [[ -z "$INPUT" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
if [[ "$INPUT" == $'\E' ]]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n "${POINTS[$INPUT]}" ]]; then
|
if [[ -n "${POINTS[$INPUT]}" ]]; then
|
||||||
echo -e "${BOLD}$ ${POINTS[$INPUT]}${NORMAL}"
|
echo -e "${BOLD}$ ${POINTS[$INPUT]}${NORMAL}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user