X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=window.c;fp=window.c;h=ccebea778cdf43a37b9740a5d0c50fc8756f58fd;hb=5a9af2820038ac323030e39627c0b214a52008fc;hp=c2d7575c993a81cce2968dafbb08a6a46fcc00be;hpb=814408f2d3557f576f8190822c330c2d9647246a;p=PuTTY.git diff --git a/window.c b/window.c index c2d7575c..ccebea77 100644 --- a/window.c +++ b/window.c @@ -3222,6 +3222,8 @@ void do_cursor(Context ctx, int x, int y, wchar_t *text, int len, HDC hdc = ctx; int ctype = cfg.cursor_type; + lattr &= LATTR_MODE; + if ((attr & TATTR_ACTCURS) && (ctype == 0 || term->big_cursor)) { if (*text != UCSWIDE) { do_text(ctx, x, y, text, len, attr, lattr);