Ending Console Input (like ctrl+d)

I'm trying to run a Scala program that includes the following code fragment which tries to read a file from the console:

new CharStreamFull(scala.io.Source.fromInputStream(System.in)

How to I indicate end of file?  Normally I'd type ctrl+d but this does nothing.

2 comments
Comment actions Permalink

Hi Jim,

It's not possible to do that with IntelliJ IDEA console at the moment. Feel free to submit corresponding request to the tracker.

Denis

0
Comment actions Permalink

Submitted. Thanks.

0

Please sign in to leave a comment.