summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-11-15 16:50:11 +0900
committeraycabta <aycabta@gmail.com>2019-11-15 18:07:34 +0900
commit11ae47c2669b64b64e2b34dd6dff02e72fd60881 (patch)
treed4eeacf27403c1c4d910c3795d6c2537f1357e16
parentfa7618e4c1b382cb5863161017ef89116af3e24f (diff)
[ruby/reline] Restore left cursor key support on Unix like OSes...
https://github.com/ruby/reline/commit/98b72af751
-rw-r--r--lib/reline/ansi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb
index 12ae903186..35497ab9e2 100644
--- a/lib/reline/ansi.rb
+++ b/lib/reline/ansi.rb
@@ -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
}