From 11ae47c2669b64b64e2b34dd6dff02e72fd60881 Mon Sep 17 00:00:00 2001 From: aycabta Date: Fri, 15 Nov 2019 16:50:11 +0900 Subject: [PATCH] [ruby/reline] Restore left cursor key support on Unix like OSes... https://github.com/ruby/reline/commit/98b72af751 --- lib/reline/ansi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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- [24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows }