Skip to content

Commit

Permalink
[ruby/irb] Take dialog to get scroll_top
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta authored and matzbot committed Aug 30, 2021
1 parent 16cf2ef commit b30be9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irb/input-method.rb
Expand Up @@ -322,7 +322,7 @@ def auto_indent(&block)
if just_cursor_moving and completion_journey_data.nil?
return nil
end
cursor_pos_to_render, result, pointer = context.pop(3)
cursor_pos_to_render, result, pointer, dialog = context.pop(4)
return nil if result.nil? or pointer.nil? or pointer < 0
name = result[pointer]
name = IRB::InputCompletor.retrieve_completion_data(name, doc_namespace: true)
Expand Down

0 comments on commit b30be9f

Please sign in to comment.