Replace rl_copy_text with rl_line_buffer