diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index 91f4cee3c7..c2082c1819 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -28,6 +28,10 @@ def self.win? [27, 71, 67] => :ed_next_char, # → [27, 71, 68] => :ed_prev_char, # ← + # urxvt / exoterm + [27, 91, 55, 126] => :ed_move_to_beg, # Home + [27, 91, 56, 126] => :ed_move_to_end, # End + # GNOME [27, 79, 72] => :ed_move_to_beg, # Home [27, 79, 70] => :ed_move_to_end, # End