зеркало из https://github.com/github/ruby.git
[ruby/reline] Remove loose operation in Dialog#render_each_dialog
https://github.com/ruby/reline/commit/a6d1c917ce
This commit is contained in:
Родитель
ce70cb6469
Коммит
941e9be0d9
|
@ -758,7 +758,6 @@ class Reline::LineEditor
|
|||
@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
|
||||
|
|
Загрузка…
Ссылка в новой задаче