We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23a88b commit f34da7fCopy full SHA for f34da7f
lib/irb/input-method.rb
@@ -368,7 +368,7 @@ def auto_indent(&block)
368
369
right_x = cursor_pos_to_render.x + autocomplete_dialog.width
370
if right_x + width > screen_width
371
- right_width = screen_width - (right_x + 0)
+ right_width = screen_width - (right_x + 1)
372
left_x = autocomplete_dialog.column - width
373
left_x = 0 if left_x < 0
374
left_width = width > autocomplete_dialog.column ? autocomplete_dialog.column : width
0 commit comments