Glitch with readline() in VSCode?

This should give you a clue:

julia> println("10\r9")
90

\r does not clear the line, it only moves the cursor.

PS. In general, please don’t post screenshots. Post quoted code: Please read: make it easier to help you