summaryrefslogtreecommitdiff
path: root/lib/reline/key_stroke.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-09-16 11:19:06 +0900
committernagachika <nagachika@ruby-lang.org>2020-09-16 21:07:25 +0900
commit3bb503e0e8f92c039ce50f430b14649a36c03feb (patch)
treecf88e25a2d373ed72fa46c4998de5fa12abd1f97 /lib/reline/key_stroke.rb
parented39078d37e16b541d717cd87cacb21aa33e6ef1 (diff)
Merge Reline 0.1.5
Diffstat (limited to 'lib/reline/key_stroke.rb')
-rw-r--r--lib/reline/key_stroke.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/key_stroke.rb b/lib/reline/key_stroke.rb
index 83136edcf8..017e3db00a 100644
--- a/lib/reline/key_stroke.rb
+++ b/lib/reline/key_stroke.rb
@@ -42,6 +42,8 @@ class Reline::KeyStroke
expand(expand(rhs_bytes) + expand(input.drop(lhs.size)))
when Symbol
[rhs] + expand(input.drop(lhs.size))
+ when Array
+ rhs
end
end