X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/e7ed326d2e914a57017c9f34459824614075519b..6cb6d61525931c88971cce323f63e40451a6d365:/x.c diff --git a/x.c b/x.c index 743b084..fbfd350 100644 --- a/x.c +++ b/x.c @@ -1285,6 +1285,8 @@ xdrawcursor(void) xdrawglyph(og, oldx, oldy); g.u = term.line[term.c.y][term.c.x].u; + g.mode |= term.line[term.c.y][term.c.x].mode & + (ATTR_BOLD | ATTR_ITALIC | ATTR_UNDERLINE | ATTR_STRUCK); /* * Select the right color for the right mode.