Search code examples
scalaread-eval-print-loop

why can not i finished repl :pas model with ctrl + d


I used windows 7 and Scala 2.11.11 but when I wrote multiline into REPL,I could not finish it with Ctrl + d enter image description here


Solution

  • Not sure about the Scala REPL, but according to https://superuser.com/questions/291224/equivalent-to-d-in-bash-for-cmd-exe, the equivalent to CTRL+D in CMD is CTRL+Z (you might have to press ENTER afterwards)