ruby-changes:73351
From: Mau <ko1@a...>
Date: Thu, 1 Sep 2022 14:01:46 +0900 (JST)
Subject: [ruby-changes:73351] 941e9be0d9 (master): [ruby/reline] Remove loose operation in Dialog#render_each_dialog
https://git.ruby-lang.org/ruby.git/commit/?id=941e9be0d9 From 941e9be0d9c44db5932386152b42f0fd44079420 Mon Sep 17 00:00:00 2001 From: Mau Magnaguagno <maumagnaguagno@g...> Date: Tue, 22 Feb 2022 08:47:20 -0300 Subject: [ruby/reline] Remove loose operation in Dialog#render_each_dialog https://github.com/ruby/reline/commit/a6d1c917ce --- lib/reline/line_editor.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 8d0719ef7c..af5240547a 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -758,7 +758,6 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L758 @output.write @full_block elsif dialog.scrollbar_pos <= (i * 2) and (i * 2) < (dialog.scrollbar_pos + bar_height) @output.write @upper_half_block - str += '' elsif dialog.scrollbar_pos <= (i * 2 + 1) and (i * 2) < (dialog.scrollbar_pos + bar_height) @output.write @lower_half_block else -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/