mirror of https://github.com/sbt/sbt.git
While running ~scripted that multiple instance of the console terminal were instantiated which caused problems with reading input. It turned out that RunFromSourceMain was running in the same jvm process as sbt and creating a new console terminal in a different classloader. This both messed up the io of scripted tests when scriptedBufferLog was set to false but it also made it so that I couldn't exit ~ with <enter>. To workaround this, I deferred initializaiton of the console terminal to Terminal.withStreams which is guarded by the sbt.io.virtual system property. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||