diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-03-22 08:01:17 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-03-22 08:01:17 +0000 |
commit | 843e605b89b2da163c60739adaa48d885abfe2b3 (patch) | |
tree | 078d555321d0742d8c917a1180e832b3b70aa9ab /tty.c | |
parent | 223ed4a98962c088aee84ca6ceb33798e92ac473 (diff) | |
parent | df3ab87964fc52c6f44b2bbe014c8bec202d0528 (diff) | |
download | rtmux-843e605b89b2da163c60739adaa48d885abfe2b3.tar.gz rtmux-843e605b89b2da163c60739adaa48d885abfe2b3.tar.bz2 rtmux-843e605b89b2da163c60739adaa48d885abfe2b3.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1557,7 +1557,7 @@ tty_attributes(struct tty *tty, const struct grid_cell *gc, const struct window_pane *wp) { struct grid_cell *tc = &tty->cell, gc2; - u_char changed; + int changed; /* Ignore cell if it is the same as the last one. */ if (wp != NULL && @@ -1627,6 +1627,8 @@ tty_attributes(struct tty *tty, const struct grid_cell *gc, } if (changed & GRID_ATTR_HIDDEN) tty_putcode(tty, TTYC_INVIS); + if (changed & GRID_ATTR_STRIKETHROUGH) + tty_putcode(tty, TTYC_SMXX); if ((changed & GRID_ATTR_CHARSET) && tty_use_acs(tty)) tty_putcode(tty, TTYC_SMACS); } |