diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-14 09:13:18 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-14 09:13:18 +0000 |
commit | f125ca3293802426a41715f73b35f66f7f045252 (patch) | |
tree | bd545735a1b6f41996e6383d01bee0428ded006a /Src | |
parent | 97dcf155566083a4b6a43040184cb477d3ff2baf (diff) | |
download | zsh-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.c | 8 |
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. */ |