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...
98b72af751
This commit is contained in:
parent
fa7618e4c1
commit
11ae47c266
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class Reline::ANSI
|
||||||
[27, 91, 68] => :ed_prev_char, # ←
|
[27, 91, 68] => :ed_prev_char, # ←
|
||||||
[27, 91, 51, 126] => :key_delete, # Del
|
[27, 91, 51, 126] => :key_delete, # Del
|
||||||
[27, 91, 49, 126] => :ed_move_to_beg, # Home
|
[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>
|
[27, 32] => :em_set_mark, # M-<space>
|
||||||
[24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows
|
[24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue