2

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?

TomZ
  • 41
  • 4
  • Does this answer your question? [IntelliJ IDEA: Why is readLine() expecting two user inputs instead of one using Kotlin?](https://stackoverflow.com/questions/65281189/intellij-idea-why-is-readline-expecting-two-user-inputs-instead-of-one-using) – gidds Dec 14 '20 at 09:20
  • @gidds Nope. It didnt work. I did feel though it was a bug! – TomZ Dec 14 '20 at 20:52

1 Answers1

0

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

Arya
  • 43
  • 1
  • 9