mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add <Home> <End> keys.
This commit is contained in:
parent
777973084e
commit
81586a4d9f
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ class Reline::ANSI
|
|||
[27, 91, 51, 126] => :key_delete, # Del
|
||||
[27, 91, 49, 126] => :ed_move_to_beg, # Home
|
||||
[27, 91, 52, 126] => :ed_move_to_end, # End
|
||||
[27, 91, 72] => :ed_move_to_beg, # Home
|
||||
[27, 91, 70] => :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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue