# Can I draw a unicodeplot repeatedly without annoying shift on terminal?

**URL:** <https://discourse.julialang.org/t/can-i-draw-a-unicodeplot-repeatedly-without-annoying-shift-on-terminal/73112>\
**Category:** New to Julia\
**Tags:** repl, plots, unicode\
**Created:** [December 15, 2021, 3:41am UTC](https://discourse.julialang.org/t/can-i-draw-a-unicodeplot-repeatedly-without-annoying-shift-on-terminal/73112 "2021-12-15T03:41:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [December 15, 2021, 3:48pm UTC](https://discourse.julialang.org/t/can-i-draw-a-unicodeplot-repeatedly-without-annoying-shift-on-terminal/73112/8 "2021-12-15T15:48:46Z")

</div>

Also @pfitzseb 's [solution](https://discourse.julialang.org/t/clear-terminal-window/17046/9) works quite well, if your terminal supports escape codes:

```julia
for i in 1:10
      print("\e[0;0H\e[2J")
      display(plot(sin, 0, i))
      sleep(0.5)
end

```

meaning if you put the first two lines of the loop body in a callback, it should work as expected.

---

_[View the full topic](https://discourse.julialang.org/t/can-i-draw-a-unicodeplot-repeatedly-without-annoying-shift-on-terminal/73112)._
