sbt/util/complete
Jason Zaugg 2ef0fcae6a Fix #552 Compensate for JLine's absent EOF detection.
In the unsupported terminal mode, JLine treats a broken
stdin as an endless stream of empty lines. This is problematic
for idea-sbt-plugin: if the IntelliJ process is forcibly killed
and leaves the child SBT process running, it consumes considerable
CPU processing these.

Patching JLine itself would be the cleanest solution (the change
has already been applied to JLine 2), but I've shied away from that
and instead wrapped the InputStream that is read by JLine to
intercept the result of -1 from read(). When this happens, the
flat `inputEof` is set to true.
2012-09-23 15:58:15 -04:00
..
src/test/scala repeatDep parser combinator 2012-07-06 10:28:51 -04:00
Completions.scala clean up Completions and allow arbitrary 'display' for Token 2012-07-13 14:33:27 -04:00
EditDistance.scala treat case differences differently 2011-12-13 17:15:05 -05:00
History.scala reintegrate history commands, add proper parsing for recursive commands 2011-03-11 16:52:44 -05:00
HistoryCommands.scala reintegrate history commands, add proper parsing for recursive commands 2011-03-11 16:52:44 -05:00
JLineCompletion.scala JLine completion integration now considers a suggestion with a newline to be preformatted 2012-07-13 14:33:27 -04:00
LineReader.scala Fix #552 Compensate for JLine's absent EOF detection. 2012-09-23 15:58:15 -04:00
NOTICE - Stuart's improvements to triggered execution 2010-07-05 12:53:37 -04:00
Parser.scala clean up token completions and make providing a general completion function easier 2012-07-13 14:33:27 -04:00
Parsers.scala methods for working with Scala identifiers 2012-07-13 14:33:27 -04:00
ProcessError.scala move error processing to complete/ 2012-03-09 07:08:38 -05:00
TokenCompletions.scala clean up token completions and make providing a general completion function easier 2012-07-13 14:33:27 -04:00
TypeString.scala basic code for cleaning up Manifest.toString 2012-07-13 14:33:27 -04:00
UpperBound.scala redo Command to use Parser 2011-01-22 14:01:59 -05:00