# Resizing REPL does major damage in Juno

**URL:** <https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051>\
**Category:** Juno\
**Created:** [July 5, 2019, 5:56pm UTC](https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051 "2019-07-05T17:56:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ross\_Boylan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ross_boylan/32/9210_2.png) [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Post date:** [July 5, 2019, 5:56pm UTC](https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051/1 "2019-07-05T17:56:52Z")

</div>

Sometimes when I shrink the pane with the REPL horizontally it truncates the display and does not provide scrollbars. The material remains lost if I return the pane to its original size.

Also, some of the material in the transcript, even parts that should have been in the narrow window, disappears after such window changes.

Sometimes shrinking the window causes the display to wrap, and unshrinking restores the original behavior. I’m not sure what makes the difference, but the misbehavior seems more common than the good behavior.

Is there anything I can do about this, other than avoiding resizing the pane?

Windows 10, atom 1.38.2, julia-client 0.8.9, language-julia 0.19.0, julia 1.1.1. 64 bit.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [July 5, 2019, 6:17pm UTC](https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051/2 "2019-07-05T18:17:11Z")

</div>

Just a +1 from a pretty much identical system - I’ve observed this a number of times but have never been able to figure out when exactly this happens. I also pretty much never resize the panes though so it’s not the biggest issue for me.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [July 8, 2019, 8:35am UTC](https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051/3 "2019-07-08T08:35:48Z")

</div>

This is a bug in the terminal library we use (see [here](https://github.com/xtermjs/xterm.js/issues/2291)), which only seems to happen on Windows.

---

<div class="post-metadata">

**Author:** ![Amin\_Yahyaabadi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amin_yahyaabadi/32/9826_2.png) [@Amin\_Yahyaabadi](https://discourse.julialang.org/u/Amin_Yahyaabadi)\
**Post date:** [July 8, 2019, 8:43am UTC](https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051/4 "2019-07-08T08:43:22Z")

</div>

The quick fix is to clear console and press enter

---

<div class="post-metadata">

**Author:** ![Ross\_Boylan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ross_boylan/32/9210_2.png) [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Post date:** [July 9, 2019, 4:43pm UTC](https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051/5 "2019-07-09T16:43:24Z")

</div>

@Amin_Yahyaabadi It sounds as if you’re saying the fix to resizing deleting some stuff is to delete everything. That doesn’t seem like much of a fix, so perhaps I’ve misunderstood. Could you clarify?

---

<div class="post-metadata">

**Author:** ![Amin\_Yahyaabadi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amin_yahyaabadi/32/9826_2.png) [@Amin\_Yahyaabadi](https://discourse.julialang.org/u/Amin_Yahyaabadi)\
**Post date:** [July 10, 2019, 8:14pm UTC](https://discourse.julialang.org/t/resizing-repl-does-major-damage-in-juno/26051/6 "2019-07-10T20:14:58Z")

</div>

@Ross_Boylan No that was just a workaround to make it usable again. The issue still persists.
