[ruby/reline] Support Ctrl+right as em_next_word, and Ctrl+left as ed_prev_word
https://github.com/ruby/reline/commit/e98ad3b486
This commit is contained in:
parent
644336eef5
commit
fa1bf8ab37
@ -11,6 +11,8 @@ class Reline::ANSI
|
||||
[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
|
||||
[27, 91, 49, 59, 53, 67] => :em_next_word, # Ctrl+→
|
||||
[27, 91, 49, 59, 53, 68] => :ed_prev_word, # Ctrl+←
|
||||
}
|
||||
|
||||
@@input = STDIN
|
||||
|
Loading…
x
Reference in New Issue
Block a user