class Reline::LineEditor
def ed_next_char(key, arg: 1)
def ed_next_char(key, arg: 1) ize = Reline::Unicode.get_next_mbchar_size(@line, @byte_pointer) yte_pointer < @line.bytesize) ar = @line.byteslice(@byte_pointer, byte_size) h = Reline::Unicode.get_mbchar_width(mbchar) sor += width if width e_pointer += byte_size @is_multiline and @config.editing_mode_is?(:emacs) and @byte_pointer == @line.bytesize and @line_index < @buffer_of_lines.size - 1 _line = @buffer_of_lines[@line_index + 1] sor = 0 e_pointer = 0 sor_max = calculate_width(next_line) vious_line_index = @line_index e_index += 1 1 t_char(key, arg: arg) if arg > 0