From bbb3162dd21903656344aea90c2ad47c89f695ad Mon Sep 17 00:00:00 2001 From: aycabta Date: Sun, 5 Sep 2021 23:35:11 +0900 Subject: [PATCH] [ruby/reline] Add Reline::Key#== as an alias to Reline::Key#match? https://github.com/ruby/reline/commit/1fc3276c01 --- lib/reline.rb | 1 + 1 file changed, 1 insertion(+) 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)