Use the new __libc_readline_unlocked function to pick up reading at the same line in case the buffer needs to be enlarged.