I am using an enhanced kotlin REPL and have entered a multi-line code snippet:
kotlin
$rlwrap bin/ki.sh ki-shell 0.3/1.4.21 type :h for help [0] fun ref