ruby-changes:68223
From: aycabta <ko1@a...>
Date: Sun, 3 Oct 2021 21:38:20 +0900 (JST)
Subject: [ruby-changes:68223] 6cb37d4136 (master): [ruby/reline] Initialize @trap_key to suppress warning
https://git.ruby-lang.org/ruby.git/commit/?id=6cb37d4136 From 6cb37d41362c2233a745a2c69bb5930771b3eab5 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sun, 3 Oct 2021 21:37:48 +0900 Subject: [ruby/reline] Initialize @trap_key to suppress warning https://github.com/ruby/reline/commit/b42c0980d9 --- lib/reline/line_editor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 71634c2563..1722abc939 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -576,6 +576,7 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L576 @proc_scope = proc_scope @width = nil @scroll_top = 0 + @trap_key = nil end def set_cursor_pos(col, row) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/