about summary refs log tree commit diff
path: root/Src/Zle/zle_vi.c
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-09-11 21:40:45 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-09-11 21:40:45 +0100
commite1c0a947cc845c71dd844db44016d07922cfcefa (patch)
treef952b7ac97712807e1d2b696987a00afdaf7ddf8 /Src/Zle/zle_vi.c
parent560a23033d2d0e029bbbcda0366053d8d87a37d9 (diff)
downloadzsh-e1c0a947cc845c71dd844db44016d07922cfcefa.tar.gz
zsh-e1c0a947cc845c71dd844db44016d07922cfcefa.tar.xz
zsh-e1c0a947cc845c71dd844db44016d07922cfcefa.zip
Read full multibyte string early for self-insert
Diffstat (limited to 'Src/Zle/zle_vi.c')
-rw-r--r--Src/Zle/zle_vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c
index 42dc46e7e..86840bdd6 100644
--- a/Src/Zle/zle_vi.c
+++ b/Src/Zle/zle_vi.c
@@ -151,7 +151,7 @@ vigetkey(void)
 #ifdef MULTIBYTE_SUPPORT
     if (!lastchar_wide_valid)
     {
-	getrestchar(lastchar);
+	getrestchar(lastchar, NULL, NULL);
     }
 #endif
     return LASTFULLCHAR;