[ruby/irb] Remove commeted out code

https://github.com/ruby/irb/commit/7dda1f803e
This commit is contained in:
aycabta 2021-09-02 00:45:53 +09:00
parent c8bf45f23c
commit 5f771f4f02

View File

@ -374,7 +374,6 @@ module IRB
contents = [message] + doc.accept(formatter).split("\n")
x = cursor_pos_to_render.x + autocomplete_dialog.width
#x = cursor_pos_to_render.x - width if x + width >= screen_width
x = autocomplete_dialog.column - width if x + width >= screen_width
y = cursor_pos_to_render.y
DialogRenderInfo.new(pos: Reline::CursorPos.new(x, y), contents: contents, width: width, bg_color: '49')