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

drawing wrapped lines in REPL #24

Open
kleinschmidt opened this issue Jan 26, 2018 · 5 comments
Open

drawing wrapped lines in REPL #24

kleinschmidt opened this issue Jan 26, 2018 · 5 comments

Comments

@kleinschmidt
Copy link

When typing in the REPL, as soon as the line wraps around, it starts "gobbling up" lines above. Every time I type another character, it re-prints everything on the wrapped part on a new line, instead of re-writing the wrapped part:

screenshot from 2018-01-26 12-32-14

This is with:

  • Julia 0.6.2
  • julia-repl from melpa (20171116.46)
  • GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2017-12-04
@tpapp
Copy link
Owner

tpapp commented Jan 27, 2018

This is unfortunately a bug in Emacs, I already reported it.

@hcarlsso
Copy link

Is there any quick fix for this?

@tpapp
Copy link
Owner

tpapp commented Oct 12, 2019

I don't know, one would have to dig into the terminal code. Maybe alternative terminals packages in Emacs don't have this problem, or would be more willing to fix this.

@prosoitos
Copy link

prosoitos commented May 28, 2020

Thanks for reporting the bug upstream!

In case this may be of any help to anyone (maybe it'll work for you too @hcarlsoo?):

I was having issues with this with long paths. It would make the repl so messy that I had to kill the session.

Breaking the string representing the path and concatenating the fragments is working well as a workaround for me.

Example:

file = string("../../xxxx/xxxx/xxxxxxxx/",
              "xxxxxx/xxxxxx/xxxxxx/xxxxx.csv")

or

file = "../../xxxx/xxxx/xxxxxxxx/" *
       "xxxxxx/xxxxxx/xxxxxx/xxxxx.csv"

Note:

There is no issue when the reply is printing wrapped lines. It is only in input (whether typed directly in it or sent from julia-mode) that it was messing everything up. So after running the above, I can print file without any problem.

@christopher-dG
Copy link
Contributor

The vterm backend doesn't have this problem. All the more reason to get #51 in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants