=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.254 retrieving revision 1.255 diff -u -r1.254 -r1.255 --- src/usr.bin/tmux/tty.c 2017/03/15 15:22:14 1.254 +++ src/usr.bin/tmux/tty.c 2017/03/22 07:16:54 1.255 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.254 2017/03/15 15:22:14 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.255 2017/03/22 07:16:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1557,7 +1557,7 @@ 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 @@ } 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); }