diff options
author | aycabta <aycabta@gmail.com> | 2019-12-07 19:51:03 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-12-07 20:01:53 +0900 |
commit | c2afddccb36c10ac0eb530bfc3b38765882126d8 (patch) | |
tree | a5a53870f46eadc36b218e074b01ffc8fedf5f32 /lib | |
parent | e72ffc55ba3cc9bf20c892d2d090a77f40c49ada (diff) |
[ruby/irb] Reidline mode needs Reline what needs String#grapheme_clusters
https://github.com/ruby/irb/commit/2b0b19b87c
Diffstat (limited to 'lib')
-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 a1777d7904..a361f035cd 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -293,5 +293,5 @@ module IRB def encoding @stdin.external_encoding end - end + end if RUBY_VERSION >= "2.5.0" # Reline needs String#grapheme_clusters end |