diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-02-25 13:41:20 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-05-20 17:01:34 -0700 |
commit | 99dad60d984d3f72338f3bad4c4fe905090edd51 (patch) | |
tree | c70abab26b1116869e02606abac1167232ab28f4 /project/ScriptCommands.scala | |
parent | 0d0671ae10ef552d66861248fa087306c960520e (diff) | |
download | scala-99dad60d984d3f72338f3bad4c4fe905090edd51.tar.gz scala-99dad60d984d3f72338f3bad4c4fe905090edd51.tar.bz2 scala-99dad60d984d3f72338f3bad4c4fe905090edd51.zip |
SI-7898 Read user input during REPL warmup
The compiler is created on main thread and user input is read
on an aux thread (opposite to currently).
Fixes completion when `-i` is supplied.
Now `-i` means pasted and new option `-I` means line-by-line.
The temporary reader uses postInit to swap in the underlying
reader.
Completion is disabled for the temporary reader, rather than
blocking while it waits for a compiler. But manically hitting
tab is one way of knowing exactly when completion is live.
Diffstat (limited to 'project/ScriptCommands.scala')
0 files changed, 0 insertions, 0 deletions