diff --git a/lib/reline.rb b/lib/reline.rb index 4b06d07b4d..8fecb5c483 100644 --- a/lib/reline.rb +++ b/lib/reline.rb @@ -34,6 +34,7 @@ module Reline false end end + alias_method :==, :match? end CursorPos = Struct.new(:x, :y) DialogRenderInfo = Struct.new(:pos, :contents, :pointer, :bg_color, :width, :height, :scrollbar, keyword_init: true)