about summary refs log tree commit diff
path: root/Src/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/prompt.c')
-rw-r--r--Src/prompt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/prompt.c b/Src/prompt.c
index facf777f0..21dff16e0 100644
--- a/Src/prompt.c
+++ b/Src/prompt.c
@@ -771,6 +771,7 @@ stradd(char *d)
 	    /* FALL THROUGH */
 	default:
 	    /* Take full wide character in one go */
+	    mb_metacharinit();
 	    pc = wcs_nicechar(cc, NULL, NULL);
 	    break;
 	}