Fix, showing prompt and rl_line_buffer after completion fails.