emacs-libvterm icon indicating copy to clipboard operation
emacs-libvterm copied to clipboard

Text wraps around on the same line instead of breaking to next line.

Open SreenivasVRao opened this issue 3 years ago • 3 comments

Hi - thank you so much for this awesome package! I love using it.

I've come across this weird issue where if I have a long line in my history (C-r to regexp search within vterm) or if I have a long command to paste (using C-y), I find that the command goes to 80~ characters, and then wraps around at the beginning of the line instead of moving to the next line. My monitor is pretty wide (200~ char should fit easily). But Idk if this is a problem on my end or in vterm.

Can you help troubleshoot? Thanks!

Seems to happen if I have a window which is resized.

SreenivasVRao avatar Feb 25 '21 03:02 SreenivasVRao

Sorry for the long delay.

If you have two windows open displaying the same vterm, and one of the two is smaller, than this will limit the size available for the second.

When you say that it wraps around, do you mean that it overwrites the same line?

Sbozzolo avatar Mar 29 '21 23:03 Sbozzolo

No problem :)

Yes. It overwrites the same line. Happens even when I have a single window with vterm spanning the entire screen (greater than 200 chars wide). The wrapping seems to happen because of some max line length variable. Idk if it reads fill-column and uses that...

On Mon, Mar 29, 2021, 19:30 Gabriele Bozzola @.***> wrote:

Sorry for the long delay.

If you have two windows open displaying the same vterm, and one of the two is smaller, than this will limit the size available for the second.

When you say that it wraps around, do you mean that it overwrites the same line?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/akermu/emacs-libvterm/issues/503#issuecomment-809792399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENMNRVKETTLBOLFNM7D2S3TGEEPPANCNFSM4YFWYNAQ .

SreenivasVRao avatar Mar 29 '21 23:03 SreenivasVRao

On my system, fill-column is set to 80, but I don't have this problem. I would think that it is something in your configuration. It would be useful to see if you can reproduce this problem with a clean configuration.

Sbozzolo avatar Mar 30 '21 00:03 Sbozzolo