-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Window Terminal sporadically fails to trim trailing white spaces. #17857
Comments
Sorry, just noted this behavior. Sometimes it puts a newline in where the line wraps. |
Does this repro on 1.22/? https://github.com/microsoft/terminal/releases/tag/v1.22.2362.0 |
Got it installed. Give me a few days to test it out and see if the buggy behavior appears |
It has worked correctly on the new version for a few days now. I am now testing it out on a different computer just to make sure. |
I am still seeing the inappropriate pasting behavior on the new computer I am using it on. |
I can confirm I am still seeing the issue on the original computer with the new release of the terminal. I should also note that sometimes I can get it to stop by doing things like resizing the window? Doesn't always work, but sometimes it does. |
Thanks for filing! What shell or other application are you using /? |
I am using bash shell. The problem does not seem to matter if I am in the shell environment or copying from a text editor like vim or less. Once it starts, it will persist until I do something that changes the state of the screen like resizing, though this does not get rid of it every time. |
Sorry - are you using WSL, Cygwin, or msys2? |
I am using wsl2 |
Steps to reproduce If I paste 10 lines, sometimes, 1-3 lines are appended in one line. I set vim to nowrap, it seems like I miss 2 lines. Edition Windows 11 Enterprise Windows Terminal |
Windows Terminal version
1.20.11781.0
Windows build number
10.0.19043 Build 19043
Other Software
This happens no matter where I am copying from.
Steps to reproduce
Open terminal, copy and paste into a new terminal window. The behavior is sporadic, but happens with often. It makes it very hard to work in the terminal.
Expected Behavior
pasted text will have the excess white space at the end of the line removed
Actual Behavior
pasted text is treated like it was a single line that wrapped around, leading to long white spaces and no line breaks.
Behavior is sporadic. The problem is on the copy window side.
Example: Below data was copied and pasted. Some of the white space is removed, some is not.
I add a few newlines above the text and now it copies correctly, but this is not a consistent fix
The text was updated successfully, but these errors were encountered: