1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixing glitchy kill ring behavior in irb

See https://github.com/ruby/irb/issues/85 for details
This commit is contained in:
Yale Kozinski 2020-11-23 01:17:06 -08:00 committed by aycabta
parent da3438a504
commit d597d7a8b6
Notes: git 2020-12-17 20:05:06 +09:00

View file

@ -183,7 +183,7 @@ class Reline::LineEditor
@cleared = false
@rerender_all = false
@history_pointer = nil
@kill_ring = Reline::KillRing.new
@kill_ring ||= Reline::KillRing.new
@vi_clipboard = ''
@vi_arg = nil
@waiting_proc = nil