REPL does not handle multi line inputs bigger than the screen well on windows

EDIT: linked wrong issue…

Hello,

I’ve encountered this issue again: REPL does not handle well multi-line input bigger than the screen · Issue #24049 · JuliaLang/julia, which is marked as resolved but I still encounter this behaviour:

julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
           print(1)
           print(2)
           print(3)
           print(4)
           print(5)
           print(6)
           print(7)
           print(8)
           print(9)
           print(10)
           print(11)
           print(12)
           print(13)
           print(14)
           print(15)
           print(16)
       end

this is pasted with one less line available in the screen (17 rows) than the length of the function (18 rows)

julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
julia> function test()
           print(1)
julia> function test()
           print(1)
julia> function test()
           print(1)
julia> function test()
           print(1)
julia> function test()
           print(1)
julia> function test()
           print(1)
           print(2)
           print(3)
           print(4)
           print(5)
           print(6)
           print(7)
           print(8)
           print(9)
           print(10)
           print(11)
           print(12)
           print(13)
           print(14)
           print(15)
           print(16)
       end

This is the behaviour when two less lines are available (16 rows)
and so on…

auto indent is set to off.

Julia Version 1.11.3
Commit d63adeda50 (2025-01-21 19:42 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × AMD Ryzen 7 5825U with Radeon Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 12 default, 0 interactive, 6 GC (on 16 virtual cores)
Environment:
  JULIA_NUM_THREADS = 8

on Windows Terminal 1.18.3181.0

Given then original issue is 6 years old, should I open a new issue or reopen the old one?

1 Like

I tried it on Windows 11, with Terminal 1.21.3231.0, and Julia 1.11.0. Navigating works without any issues for me.

Ah maybe I misinterpreted the issue the . But I noticed that I get similar behaviour as the second comment. Which I then assumed was part of the same issue

Do you encounter the same behaviour of multiple printed lines as well?

Navigation works well for me as well (at least, only in the part that fits)