1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-09 06:44:20 +00:00

🎨 Better analysis experience

This commit is contained in:
Tw93
2025-10-05 16:40:43 +08:00
parent d8909053e8
commit f7a88558d5
3 changed files with 81 additions and 61 deletions

View File

@@ -114,6 +114,7 @@ read_key() {
'd'|'D') echo "DELETE" ;;
'r'|'R') echo "RETRY" ;;
'?') echo "HELP" ;;
$'\x03') echo "QUIT" ;; # Ctrl+C
$'\x7f'|$'\x08') echo "DELETE" ;; # Delete key (labeled "delete" on Mac, actually backspace)
$'\x1b')
# ESC sequence - could be arrow key, delete key, or ESC alone