diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-22 08:46:12 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-22 08:46:12 +0000 |
commit | 9c0520f2c52548d0949db172662015a75926ff89 (patch) | |
tree | 1f1850fad2ed521e5b2e3d75a17e0581539f6260 /tty.c | |
parent | c3dbbdaadff396bf25e2a99740dde9da8248ce02 (diff) | |
parent | 843e605b89b2da163c60739adaa48d885abfe2b3 (diff) | |
download | rtmux-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.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); } |