14 lines
197 B
Diff
14 lines
197 B
Diff
--- cmdbuf.c
|
|
+++ cmdbuf.c
|
|
@@ -241,7 +241,9 @@
|
|
? 2
|
|
: 1;
|
|
if (bswidth != NULL)
|
|
- *bswidth = 1;
|
|
+ *bswidth = is_wide_char(ch)
|
|
+ ? 2
|
|
+ : 1;
|
|
}
|
|
}
|
|
}
|