-
Notifications
You must be signed in to change notification settings - Fork 614
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
Fix vertical lines in Putty with UTF-8 graphics #983
Conversation
Fixed an issue with the vertical window separator not redrawing correctly after cycling graphics modes with |
|
|
Added a test for vertical lines in all graphic modes. Unfortunately, the vertical display separator is always output as |
Putty doesn't show VT100 line drawing characters in the UTF-8 mode by default. Putty 0.70 and older doesn't even have that option. For the vertical display separator, output the vertical line character on every line. Use wbkgdset() instead of wbkgd() as the code takes care of setting the window contents. For the line number separator, use draw_graphic() in the default mode only. Use draw_chars() in the ASCII and UTF-8 modes. Add a test for vertical lines. The display separator is always captured as a line of '|' characters. The line number separators are captured correctly. 'x' corresponds to ACS_VLINE. Closes jonas#981
Changed Using background to draw the separator is a nice trick, but it won't work in the UTF-8 mode without using |
Thanks a lot. Really great to have the test. |
Putty doesn't show VT100 line drawing characters in the UTF-8 mode by
default. Putty 0.70 and older doesn't even have that option.
For the vertical display separator, use '|' as background, then output
the vertical line character on every line.
For the line number separator, use draw_graphic() in the default mode
only. Use draw_chars() in the ASCII and UTF-8 modes.
Add a test for vertical lines. The display separator is always captured
as a line of '|' characters. The line number separators are captured
correctly. 'x' corresponds to ACS_VLINE.
Closes #981