Urgent need to replace the terrible REPL with Kotlin Interactive Shell in the upcoming new Kotlin version

For the vistors stumbling into this thread: It is related to Kotlin REPL is still so incredibly bad! - #8 by medium

The best what you can do is to vote for this issue: Replace Kotlin REPL with Kotlin Language Interactive Shell