-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Bug]: vim sends a strange escape sequence when gnome-terminal is used #14407
Comments
this is less a problem with vim and more one with gnome, that's a standard escape sequence being rendered as text... |
Not reproducible for me, when SSHing from A suggested workaround is to set |
OK, looking into it more, it's actually a slightly nonstandard code added by xterm to set its What's your |
tl;dr you need to set |
|
Note that it does not reproduce with my GNOME Terminal even when |
ah you're right yes. maybe we should add gnome terminfo files? or just leave ssh via old gnome unsupported |
Adding terminfo is trivial and I will handle that. |
to clarify, the user should wait for #14409, |
Problem description
When vim is started up or exits, even without any file it displays a strange Unicode character, see the two screenshots.
![Screenshot from 2023-01-08 15-19-09](https://user-images.githubusercontent.com/1933903/211204425-7efd13be-8921-4845-96da-b49c8c91c7f1.png)
![Screenshot from 2023-01-08 15-19-03](https://user-images.githubusercontent.com/1933903/211204426-68e68813-6c64-497c-950f-e8d5b91d5bc6.png)
What steps will reproduce the bug?
just run
vim
and then exit it via:q
What is the expected behavior?
There should be no garbage characters. Also, this only happens when I login via ssh from a Linux session running gnome-terminal, but if I login (again via ssh) from a Linux text console, then everything is fine -- no garbage is thrown by vim. I thought maybe something in my .vimrc/.viminfo is incompatible with vim (I normally use vim 8.0.3741, i.e. what is current on Ubuntu 18.04.6, so I moved those files out of the way, but no -- the problem is still there.
System information
termux-info:
The text was updated successfully, but these errors were encountered: