1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Fix cursor display on a combined character cell.

[originally from svn r4625]
This commit is contained in:
Simon Tatham
2004-10-15 08:51:57 +00:00
parent 557256c38e
commit db54732e38
2 changed files with 6 additions and 1 deletions

View File

@ -2049,6 +2049,9 @@ void do_cursor(Context ctx, int x, int y, wchar_t *text, int len,
active = 0;
do_text_internal(ctx, x, y, text, len, attr, lattr);
if (attr & TATTR_COMBINING)
len = 1;
if (attr & ATTR_WIDE) {
widefactor = 2;
} else {