From 81586a4d9fd6afe1c39f737a704c5010faf22192 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 9b83a00df4..f69187cc18 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 }