summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 86ebd400b0..233d6a5852 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -465,7 +465,8 @@ screen_line(
// double-wide character. Clear the left half to avoid it getting the popup
// window background color.
if (coloff > 0 && ScreenLines[off_to] == 0
- && ScreenLinesUC[off_to - 1] != 0)
+ && ScreenLinesUC[off_to - 1] != 0
+ && (*mb_char2cells)(ScreenLinesUC[off_to - 1]) > 1)
{
ScreenLines[off_to - 1] = ' ';
ScreenLinesUC[off_to - 1] = 0;