Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated output when pasting multi-line code #57231

Open
wheeheee opened this issue Feb 1, 2025 · 2 comments
Open

Repeated output when pasting multi-line code #57231

wheeheee opened this issue Feb 1, 2025 · 2 comments
Labels
REPL Julia's REPL (Read Eval Print Loop)

Comments

@wheeheee
Copy link

wheeheee commented Feb 1, 2025

Also observed in #56884. When a long piece of code (longer than the window size) is pasted or entered into the REPL (on Windows Terminal at least), incomplete portions of it appear like output. Navigating the code afterwards with up and down arrow keys also produces these lines.

Input, pasted or typed, then up-up-down-down arrow keys
julia> function testrepl()
           0
           1
           2
           3
           4
           5
           6
           7
           8
           9
           0
           1
           2
           3
           4
           5
           6
           7
           8
           9
           0
           1
           2
           3
           4
           5
           6
           7
           8
           9
       end
Displayed
julia> function testrepl()
julia> function testrepl()
           0
julia> function testrepl()
           0
julia> function testrepl()
           0
julia> function testrepl()
           0
julia> function testrepl()
           0
           1
           2
           3
           4
           5
           6
           7
           8
           9
           0
           1
           2
           3
           4
           5
           6
           7
           8
           9
           0
           1
           2
           3
           4
           5
           6
           7
           8
           9
       end
@adienes adienes added the REPL Julia's REPL (Read Eval Print Loop) label Feb 1, 2025
@adienes
Copy link
Contributor

adienes commented Feb 1, 2025

I suspect this is windows specific as I'm not able to reproduce on macos

@wheeheee
Copy link
Author

wheeheee commented Feb 2, 2025

It also affects at least gnome-console and gnome-terminal on Fedora.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

2 participants