class Reline::LineEditor

def ed_kill_line(key)

from the cursor to the beginning of the current line.
the line. With a negative numeric argument, kill backward
GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
+Ctrl-U+) + Kill from the cursor to the end of the line.
Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
def ed_kill_line(key)
ne.bytesize > @byte_pointer
e, deleted = byteslice!(@line, @byte_pointer, @line.bytesize - @byte_pointer)
e_pointer = @line.bytesize
sor = @cursor_max = calculate_width(@line)
l_ring.append(deleted)
@is_multiline and @byte_pointer == @line.bytesize and @buffer_of_lines.size > @line_index + 1
sor = calculate_width(@line)
e_pointer = @line.bytesize
e += @buffer_of_lines.delete_at(@line_index + 1)
sor_max = calculate_width(@line)
fer_of_lines[@line_index] = @line
ender_all = true
t_height += 1