tui-scripts/lk

19 lines
300 B
Plaintext
Raw Normal View History

2024-04-01 04:44:44 +00:00
#!/bin/bash
clear && echo Listen to keys...
while true; do
clear && echo Listen to keys...
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