From 95d01a7eaac704a5bdbab979cb8c2713c38e4b1b Mon Sep 17 00:00:00 2001 From: manga_osyo Date: Sat, 16 Nov 2019 11:13:19 +0900 Subject: [PATCH] Add keys. --- lib/reline/ansi.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index 35497ab9e2..a55242e0c6 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -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- [24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows }