Skip to content

Commit 98b72af

Browse files
committed
Restore left cursor key support on Unix like OSes...
1 parent d1d4ac6 commit 98b72af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reline/ansi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Reline::ANSI
66
[27, 91, 68] => :ed_prev_char, # ←
77
[27, 91, 51, 126] => :key_delete, # Del
88
[27, 91, 49, 126] => :ed_move_to_beg, # Home
9-
[27, 91, 68] => :ed_prev_char, # ←
9+
[27, 91, 52, 126] => :ed_move_to_end, # End
1010
[27, 32] => :em_set_mark, # M-<space>
1111
[24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows
1212
}

0 commit comments

Comments
 (0)