class Reline::LineEditor
def ed_prev_char(key, arg: 1)
def ed_prev_char(key, arg: 1) rsor > 0 _size = Reline::Unicode.get_prev_mbchar_size(@line, @byte_pointer) e_pointer -= byte_size ar = @line.byteslice(@byte_pointer, byte_size) h = Reline::Unicode.get_mbchar_width(mbchar) sor -= width @is_multiline and @config.editing_mode_is?(:emacs) and @byte_pointer == 0 and @line_index > 0 _line = @buffer_of_lines[@line_index - 1] sor = calculate_width(prev_line) e_pointer = prev_line.bytesize sor_max = calculate_width(prev_line) vious_line_index = @line_index e_index -= 1 1 v_char(key, arg: arg) if arg > 0