class Reline::LineEditor
def em_yank_pop(key)
def em_yank_pop(key) , prev_yank = @kill_ring.yank_pop ked _yank_width = calculate_width(prev_yank) sor -= prev_yank_width sor_max -= prev_yank_width e_pointer -= prev_yank.bytesize e, = byteslice!(@line, @byte_pointer, prev_yank.bytesize) e = byteinsert(@line, @byte_pointer, yanked) ed_width = calculate_width(yanked) sor += yanked_width sor_max += yanked_width e_pointer += yanked.bytesize