Why IntelliJIDEA Kotlin doesn't take input from readLine() when running the main file in Console Application?

Viewed 265

enter image description here

Taking input as commandline works fine though!

It seems i need to enter twice to get an input. Cant seem to understand why?

1 Answers

the best answer I came up With is it's bug in IntelliJ's internal console: same thing happened with be and when I run it in older version it works fine

Related