On darwin, we don't completely suppress the signal used to interrupt the inferior. The underlying read syscall returns EINTR, which causes premature termination of the input loop. Work around that by hand-rolling an EINTR-resistant version of getline.
475 B
475 B