summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/irb/input-method.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb
index 5fe248dfc1..b28dede706 100644
--- a/lib/irb/input-method.rb
+++ b/lib/irb/input-method.rb
@@ -322,7 +322,7 @@ module IRB
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)