# When my REPL input fills the line, previously displayed lines get "eaten"

**URL:** https://discourse.julialang.org/t/when-my-repl-input-fills-the-line-previously-displayed-lines-get-eaten/135361
**Category:** General Usage
**Tags:** repl
**Created:** [January 30, 2026, 6:49pm UTC](https://discourse.julialang.org/t/when-my-repl-input-fills-the-line-previously-displayed-lines-get-eaten/135361 "2026-01-30T18:49:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![qua4tre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qua4tre/32/47504_2.png) [@qua4tre](https://discourse.julialang.org/u/qua4tre)
#### Post date: [January 30, 2026, 6:49pm UTC](https://discourse.julialang.org/t/when-my-repl-input-fills-the-line-previously-displayed-lines-get-eaten/135361/1 "2026-01-30T18:49:01Z")

</div>

Say I am working at the REPL, and I have a few inputs and outputs displayed:

```julia-auto
julia> 2 + 2
4

julia> exp(6)
403.4287934927351

julia>

```

Next I have a really long input line that exactly fills the width of my terminal:

```julia-auto
julia> 2 + 2
4

julia> exp(6)
403.4287934927351

julia>"Now look what happens when I type something that goes to the end of the line. ----->

```

If I leave the line at that length to go back and edit something, lines above the one I’m editing start disappearing, typically one per keystroke. After hitting the left arrow once:

```julia-auto
julia> 2 + 2
4

julia> exp(6)
403.4287934927351
julia>"Now look what happens when I type something that goes to the end of the line. ----->

```

Notice the lowest empty line has been “eaten”. Then hitting the left arrow 3 more times, the next 3 lines get eaten too:

```julia-auto
julia> 2 + 2
4
julia>"Now look what happens when I type something that goes to the end of the line. ----->

```

If I add a character, so that the line carries over onto the next line, the disappearing behavior stops (after eating one more line):

```julia-auto
julia> 2 + 2
julia> "Now look what happens when I type something that goes to the end of the line. --f---
>

```

This has been my REPL experience for as long as I can remember. Mostly I’ve just dealt with or avoided it, but I’m finally deciding to ask about it 😅. Is there any way to change this behavior? Is it a bug in the way the REPL display works? Apologies if this is a duplicate, but I couldn’t find any topics that already addressed this.

---

<div class="post-metadata">

### Author: ![matthias314](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@matthias314](https://discourse.julialang.org/u/matthias314)
#### Post date: [January 30, 2026, 9:47pm UTC](https://discourse.julialang.org/t/when-my-repl-input-fills-the-line-previously-displayed-lines-get-eaten/135361/2 "2026-01-30T21:47:48Z")

</div>

This sounds like a problem with a specific terminal emulator. I don’t see it on my computer. What terminal emulator are you using? What’s the setting of your `TERM` environment variable (assuming that you are using Linux)?

---

<div class="post-metadata">

### Author: ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)
#### Post date: [January 30, 2026, 9:58pm UTC](https://discourse.julialang.org/t/when-my-repl-input-fills-the-line-previously-displayed-lines-get-eaten/135361/3 "2026-01-30T21:58:30Z")

</div>

I see it on the Julia REPL in all of Windows’ builtin terminals, which can be nested in other apps. It’s quite literally “the width of my terminal”, the line-eating per keystroke can be set up by either typing a long enough line or by shrinking the terminal width to the line. Never found a Github issue about it.

---

<div class="post-metadata">

### Author: ![benninkrs](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/benninkrs/32/3191_2.png) [@benninkrs](https://discourse.julialang.org/u/benninkrs)
#### Post date: [January 30, 2026, 11:48pm UTC](https://discourse.julialang.org/t/when-my-repl-input-fills-the-line-previously-displayed-lines-get-eaten/135361/4 "2026-01-30T23:48:12Z")

</div>

I have also noticed this often on Windows using the standard terminal.

---

<div class="post-metadata">

### Author: ![qua4tre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qua4tre/32/47504_2.png) [@qua4tre](https://discourse.julialang.org/u/qua4tre)
#### Post date: [February 5, 2026, 7:32pm UTC](https://discourse.julialang.org/t/when-my-repl-input-fills-the-line-previously-displayed-lines-get-eaten/135361/5 "2026-02-05T19:32:27Z")

</div>

I am using Windows. It happens in every terminal I use (Windows Powershell, Command Prompt, Git Bash, Anaconda Prompt, whatever is embedded in VS Code, etc.).
