line-seq and read-line don't return nil on Ctrl-D in lein repl

Description

Executing in lein repl either

(doseq [line (line-seq (java.io.BufferedReader. in)) :while line]
(println line))

Or

(doseq [line (read-line) :while line]
(println line))

One would expect these to return on a user's enter of Ctrl-D, however they never return.

Environment

OSX, lein repl

Status

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Affects versions

Release 1.6

Priority

Major
Configure