Skip to content

Commit 56b7c0f

Browse files
committed
Merge pull request scala#2740 from som-snytt/issue/7650-jline-nobang
SI-7650 No bang expansions in REPL jline
2 parents 1e0ae76 + 8fbd68c commit 56b7c0f

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)