1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Restore left cursor key support on Unix like OSes...

https://github.com/ruby/reline/commit/98b72af751
This commit is contained in:
aycabta 2019-11-15 16:50:11 +09:00
parent fa7618e4c1
commit 11ae47c266

View file

@ -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
}