mirror of https://github.com/sbt/sbt.git
I finally realized that the trick is that for non cygwin windows, the available method on the jline wrapped input stream always returns zero. Unlike on posix, however, the read method is interruptible which means that we can just spin up a background thread that polls from the input stream and writes it into a buffer. I verified that it was no longer necessary to hit <enter> after 'r' to rerun the continuous command on my windows vm after this change. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||