-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
copy & paste in PuTTY: long lines are splitted when pasted #778
Comments
@fansari, |
I have today tested this with 0.20.1. The issue is still there. |
Thank you for checking! |
it's not just PuTTY. Same happens in iTerm2 on macOS |
I think this is an issue in all terminals. Essentially what happens is that when copying in Zellij, we treat line-wraps as line-breaks. Personally I thought this was desirable, but apparently I was wrong. :) Will try to give this a look and fix it in the near future. |
Is there an update to this? Noticed this as a new user of Zellij 0.25.0. |
I think maybe @tlinford was working on this? |
i missed this issue actually, as far as i can tell this is fixed since 0.25.0 (was addressed in #1069) |
are you running with |
@tlinford I'm using mouse_mode: true, I just noticed this happens to me in vim but not in bash :/ using mouse_mode: false it selects the pane frame too which I don't really need. |
Gotcha, tested 0.26.0, when selecting in vim it goes into Visual Mode, so one needs to use 'y' to yank and 'p' to paste as an example. Works though :) |
cool, thanks for testing :) |
For me it does not work with 0.26.0. I have put a long line into a file and do a cat on this file in a Gnome terminal. In both cases the result are two lines. To doublecheck this I have also opened a Gnome terminal without running zellij. There the result is one line. Also tested on Windows 10 with PuTTY: same result |
sorry @fansari , the comments from yesterday are a different case with mouse_mode enabled, you have it turned off right? |
I have this setting for the mouse: disable_mouse_mode: true |
When I use zellij and the output is longer than the terminal and then do a copy & paste with the mouse the lines become splitted.
I use zellij 0.18.1. My config.yaml looks like this;
no_pane_frames: true
disable_mouse_mode: true
The scenario is like this: I use PuTTY on a Windows 10 system and SSH to a Linux VM and from there I run zellij.
When I open a PuTTY session without running zellij and do the same thing I get one single line when pasting.
The text was updated successfully, but these errors were encountered: