# Glitch with readline() in VSCode?

**URL:** <https://discourse.julialang.org/t/glitch-with-readline-in-vscode/95550>\
**Category:** General Usage\
**Tags:** vscode, input-output, interactivity\
**Created:** [March 4, 2023, 6:08pm UTC](https://discourse.julialang.org/t/glitch-with-readline-in-vscode/95550 "2023-03-04T18:08:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [March 4, 2023, 6:52pm UTC](https://discourse.julialang.org/t/glitch-with-readline-in-vscode/95550/4 "2023-03-04T18:52:34Z")

</div>

> [@Maddy](#):
>
> Is anyone seeing this!? There are 0’s in such a simple code too… WHATS HAPPENING?

This should give you a clue:

```julia
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](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757)

---

_[View the full topic](https://discourse.julialang.org/t/glitch-with-readline-in-vscode/95550)._
