Using Vim in an SSH Terminal only draws up to the end of the line, not the entire screen, causing color issue.
Using Remote Desktop Manager, I have an SSH terminal session to a remote Linux box. I am seeing an issue where the vim colorscheme is only working up to the last character on the line. It should affect the entire rest of the line up to the edge of the window.
To reproduce:
For the new lines that appear from scrolling, the background color past the end of the line will display black (the default background color for the terminal session) when it should be blue (the console background color defined by the colorscheme). This ruins the look of the colorscheme.
This behavior does not occur when I connect to the same server using PuTTY. How do I fix this?
UPDATE: Running the command :set t_ut= in Vim (disable Background Color Erase) will fix the issue. Is this option configurable in Remote Desktop Manager settings?
Hello,
Thank you for contacting us regarding this matter.
There is currently no option to disable the background color erasure. However, if you're looking to modify the Terminal's color settings, the following document may be helpful:
https://docs.devolutions.net/rdm/kb/how-to-articles/change-ssh-color-font/
Please let me know if this is what you were referring to.
Best regards,
Tommy Sanders