Skip to content

The scala 2.13 REPL in Windows has color or not depending on how it is launched #13077

Open
@philwalk

Description

@philwalk

This bug report originated with scala-cli where there are screen shots and a detailed discussion.

Reproduction steps

To Reproduce this, either of these command lines in a Windows terminal results in a REPL with no color by default.

scala-cli -S 2.13.15

/opt/scala-2.13/bin/scala

Expected behaviour

Output should be colored, like sbt console, and like scala 3.x.

Scala version: 2.13.x

Problem

This default behavior was deemed appropriate for Windows in 2017, but seems less so now.
see scala/scala#5663

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions