1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-06 17:12:58 +00:00

Re-enable vim directional keys

This commit is contained in:
Tw93
2025-12-11 16:34:10 +08:00
parent f515a95c66
commit 0d4bbb54dc
2 changed files with 50 additions and 0 deletions

View File

@@ -55,6 +55,10 @@ read_key() {
'm' | 'M') echo "MORE" ;;
'u' | 'U') echo "UPDATE" ;;
't' | 'T') echo "TOUCHID" ;;
'j' | 'J') echo "DOWN" ;;
'k' | 'K') echo "UP" ;;
'h' | 'H') echo "LEFT" ;;
'l' | 'L') echo "RIGHT" ;;
$'\x03') echo "QUIT" ;;
$'\x7f' | $'\x08') echo "DELETE" ;;
$'\x1b')