aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-03-22 08:46:12 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-03-22 08:46:12 +0000
commit9c0520f2c52548d0949db172662015a75926ff89 (patch)
tree1f1850fad2ed521e5b2e3d75a17e0581539f6260 /tty.c
parentc3dbbdaadff396bf25e2a99740dde9da8248ce02 (diff)
parent843e605b89b2da163c60739adaa48d885abfe2b3 (diff)
downloadrtmux-9c0520f2c52548d0949db172662015a75926ff89.tar.gz
rtmux-9c0520f2c52548d0949db172662015a75926ff89.tar.bz2
rtmux-9c0520f2c52548d0949db172662015a75926ff89.zip
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 03e4686b..8792da70 100644
--- a/tty.c
+++ b/tty.c
@@ -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);
}