Skip to content

Commit

Permalink
Take dialog to get scroll_top
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Aug 30, 2021
1 parent 48af34b commit 7209082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irb/input-method.rb
Original file line number Diff line number Diff line change
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 7209082

Please sign in to comment.