lib/reline/ansi.rb in reline-0.0.3 vs lib/reline/ansi.rb in reline-0.0.4
- old
+ new
@@ -5,10 +5,10 @@
[27, 91, 67] => :ed_next_char, # →
[27, 91, 68] => :ed_prev_char, # ←
[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
- }.each_key(&:freeze).freeze
+ }
@@input = STDIN
def self.input=(val)
@@input = val
end