2

In macOS Mojave's Terminal, the backspace key doesn't function as it should in the Scala 2.12.7 REPL (installed via Homebrew).

This link suggests using scala -Dinput.encoding=iso-8859-1 to start the REPL, however, it doesn't work in this case. I've also tried scala -Dinput.encoding=utf-8 and scala -Dinput.encoding=utf-16.

Is there any solution?

LShi
  • 1,500
  • 16
  • 29

1 Answers1

1

As a workaround, I've found that using iTerm2 – a better Terminal in many respects – solves this problem completely.

Maurice Naftalin
  • 10,354
  • 2
  • 24
  • 15