Skip to content

Commit 8fbd68c

Browse files
committed
SI-7650 No bang expansions in REPL jline
Disable expandEvents at the earliest opportunity.
1 parent ca6a166 commit 8fbd68c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/repl/scala/tools/nsc/interpreter/JLineReader.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ class JLineReader(_completion: => Completion) extends InteractiveReader {
3434
}
3535

3636
class JLineConsoleReader extends ConsoleReader with ConsoleReaderHelper {
37+
// ASAP
38+
this setExpandEvents false
39+
3740
// working around protected/trait/java insufficiencies.
3841
def goBack(num: Int): Unit = back(num)
3942
if ((history: History) ne NoHistory)

0 commit comments

Comments
 (0)