summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-09-02 00:45:53 +0900
committeraycabta <aycabta@gmail.com>2021-09-04 21:59:39 +0900
commit5f771f4f02663ed9f6b79efefe0a10f1c72a541e (patch)
tree0e5e80ec15e0ad6194dd404a731bae232c9c63d8 /lib/irb
parentc8bf45f23c9ef0bdd6658c05007f028971c53ad2 (diff)
[ruby/irb] Remove commeted out code
https://github.com/ruby/irb/commit/7dda1f803e
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/input-method.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb
index 9873e4fb75..2a99faa3a5 100644
--- a/lib/irb/input-method.rb
+++ b/lib/irb/input-method.rb
@@ -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')