lib/reline/key_stroke.rb in reline-0.2.8.pre.11 vs lib/reline/key_stroke.rb in reline-0.3.0

- old
+ new

@@ -2,9 +2,10 @@ def initialize(config) @config = config end def compress_meta_key(ary) + return ary unless @config.convert_meta ary.inject([]) { |result, key| if result.size > 0 and result.last == "\e".ord result[result.size - 1] = Reline::Key.new(key, key | 0b10000000, true) else result << key