Skip to content

Commit

Permalink
Restore left cursor key support on Unix like OSes...
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Nov 15, 2019
1 parent d1d4ac6 commit 98b72af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reline/ansi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Reline::ANSI
[27, 91, 68] => :ed_prev_char, # ←
[27, 91, 51, 126] => :key_delete, # Del
[27, 91, 49, 126] => :ed_move_to_beg, # Home
[27, 91, 68] => :ed_prev_char, # ←
[27, 91, 52, 126] => :ed_move_to_end, # End
[27, 32] => :em_set_mark, # M-<space>
[24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows
}
Expand Down

0 comments on commit 98b72af

Please sign in to comment.