class Reline::LineEditor
def ed_delete_next_char(key, arg: 1)
def ed_delete_next_char(key, arg: 1) ize = Reline::Unicode.get_next_mbchar_size(@line, @byte_pointer) @line.empty? || byte_size == 0 e, mbchar = byteslice!(@line, @byte_pointer, byte_size) _for_vi(mbchar) h = Reline::Unicode.get_mbchar_width(mbchar) sor_max -= width cursor > 0 and @cursor >= @cursor_max te_size = Reline::Unicode.get_prev_mbchar_size(@line, @byte_pointer) char = @line.byteslice(@byte_pointer - byte_size, byte_size) dth = Reline::Unicode.get_mbchar_width(mbchar) yte_pointer -= byte_size ursor -= width 1 ete_next_char(key, arg: arg) if arg > 0