summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/st.c b/st.c
index 25cb61c..b571aed 100644
--- a/st.c
+++ b/st.c
@@ -2570,6 +2570,10 @@ check_control_code:
if (width == 2) {
gp->mode |= ATTR_WIDE;
if (term.c.x+1 < term.col) {
+ if (gp[1].mode == ATTR_WIDE && term.c.x+2 < term.col) {
+ gp[2].u = ' ';
+ gp[2].mode &= ~ATTR_WDUMMY;
+ }
gp[1].u = '\0';
gp[1].mode = ATTR_WDUMMY;
}