about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-14 09:13:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-14 09:13:18 +0000
commitf125ca3293802426a41715f73b35f66f7f045252 (patch)
treebd545735a1b6f41996e6383d01bee0428ded006a /Src
parent97dcf155566083a4b6a43040184cb477d3ff2baf (diff)
downloadzsh-f125ca3293802426a41715f73b35f66f7f045252.tar.gz
zsh-f125ca3293802426a41715f73b35f66f7f045252.tar.xz
zsh-f125ca3293802426a41715f73b35f66f7f045252.zip
24810: ensure combining character alignment on unmetafication
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_tricky.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index e8e14cf14..8223c7046 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -980,6 +980,14 @@ unmetafy_line(void)
 
     free(zlemetaline);
     zlemetaline = NULL;
+
+#ifdef MULTIBYTE_SUPPORT
+    /*
+     * If we inserted combining characters under the cursor we
+     * won't have tested the effect yet.  So fix it up now.
+     */
+    alignmultiwordright(1);
+#endif
 }
 
 /* Free a brinfo list. */