# How do I move the cursor up?

**URL:** <https://discourse.julialang.org/t/how-do-i-move-the-cursor-up/120882>\
**Category:** General Usage\
**Created:** [October 4, 2024, 2:38am UTC](https://discourse.julialang.org/t/how-do-i-move-the-cursor-up/120882 "2024-10-04T02:38:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)\
**Post date:** [October 4, 2024, 5:44am UTC](https://discourse.julialang.org/t/how-do-i-move-the-cursor-up/120882/5 "2024-10-04T05:44:43Z")

</div>

> [@Paul\_Warburton](#):
>
> inside Jupyter notebook

That is very relevant. I don’t use Jupyter but took the liberty of googling for you:

1. For Python [the solution seems to be](https://stackoverflow.com/questions/24816237/ipython-notebook-clear-cell-output-in-code) to call `clear_output` to remove previous output
2. This function is apparently available in IJulia.jl as well  
[Way to programmatically clear last println() statement in Jupyter cell? - #2 by djsegal](https://discourse.julialang.org/t/way-to-programmatically-clear-last-println-statement-in-jupyter-cell/3582/2)
3. However that thread is quite old and apparently it broke some time ago. The comment about it breaking is quite old itself by now. So I suggest you try this and report back if it doesn’t work

Edit: there is an [open issue](https://github.com/JuliaLang/IJulia.jl/issues/1066) about this. Maybe @MilesCranmer can comment if there is a known workaround. @Paul_Warburton if it still doesn’t work then consider commenting on the issue I linked to draw attention to it.

---

_[View the full topic](https://discourse.julialang.org/t/how-do-i-move-the-cursor-up/120882)._
