diff options
author | aycabta <[email protected]> | 2021-08-31 04:27:20 +0900 |
---|---|---|
committer | git <[email protected]> | 2021-08-31 05:24:45 +0900 |
commit | b30be9f22231883b3cb32dac915d967c0fc9220f (patch) | |
tree | fbb1077744b5fb98eda616a5a2e9f2e84997f87c /lib/irb/input-method.rb | |
parent | 16cf2ef6f2ad61fbbf613f87c9038f3a6af4fc15 (diff) |
[ruby/irb] Take dialog to get scroll_top
https://github.com/ruby/irb/commit/7209082a11
Diffstat (limited to 'lib/irb/input-method.rb')
-rw-r--r-- | lib/irb/input-method.rb | 2 |
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) |