diff options
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2380,6 +2380,8 @@ _rl_col_width (str, start, end) if (end <= start) return 0; + if (MB_CUR_MAX == 1 || rl_byte_oriented) + return (end - start); memset (&ps, 0, sizeof (mbstate_t)); |