Skip to content

Commit 8ecff02

Browse files
committed
.
1 parent 840804f commit 8ecff02

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

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

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

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

0 commit comments

Comments
 (0)