tui-scripts/lk

19 lines
291 B
Plaintext
Raw Normal View History

2024-04-01 04:44:44 +00:00
#!/bin/bash
clear && echo Listen to keys...
while true; do
2024-04-01 04:51:44 +00:00
echo Listen to keys...
2024-04-01 04:44:44 +00:00
read -rsn1 input
if [ "$input" = "a" ]; then
a
elif [ "$input" = "e" ]; then
e
elif [ "$input" = "g" ]; then
g
elif [ "$input" = "s" ]; then
s
elif [ "$input" = "q" ]; then
exit 0
fi
done