Fix incorrect error on `read` with 1-character input

When `read` is given a single character of input (including the
newline), it was bailing as if it had been given no input. This is
incorrect.