summaryrefslogtreecommitdiff
path: root/lib/reline/key_stroke.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-06-01 09:05:58 +0900
committeraycabta <aycabta@gmail.com>2019-06-01 09:06:27 +0900
commit7df65ef67691fcc354d819da9cd54a1ade9b6247 (patch)
treea3c9f9a2d22b4f4d790a3399270b01e56069f6d3 /lib/reline/key_stroke.rb
parentc1e52997870a63168835fde49562cb3c822c968a (diff)
Use inputrc data for keystroke setting
Diffstat (limited to 'lib/reline/key_stroke.rb')
-rw-r--r--lib/reline/key_stroke.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/key_stroke.rb b/lib/reline/key_stroke.rb
index 64f3ed687d..08c00625ba 100644
--- a/lib/reline/key_stroke.rb
+++ b/lib/reline/key_stroke.rb
@@ -121,6 +121,6 @@ class Reline::KeyStroke
end
def key_mapping
- @config[:key_mapping].transform_keys(&:bytes)
+ @config.key_bindings
end
end