Skip to content

Commit e550559

Browse files
committed
fix
1 parent 7b8cc05 commit e550559

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

repl/src/dotty/tools/repl/JLineTerminal.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ class JLineTerminal extends java.io.Closeable {
3333
builder.build()
3434
private val history = new DefaultHistory
3535

36-
private def purple(str: String)(using Context) =
37-
if (ctx.settings.color.value != "never") Console.MAGENTA + str + Console.RESET
36+
private def blue(str: String)(using Context) =
37+
if (ctx.settings.color.value != "never") Console.BLUE + str + Console.RESET
3838
else str
39-
protected def promptStr = "@"
40-
private def prompt(using Context) = purple(s"\n$promptStr ")
41-
private def newLinePrompt(using Context) = purple(" ")
39+
protected def promptStr = "scala"
40+
private def prompt(using Context) = blue(s"\n$promptStr> ")
41+
private def newLinePrompt(using Context) = " "
4242

4343
/** Blockingly read line from `System.in`
4444
*

0 commit comments

Comments
 (0)