diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-14 14:57:52 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-14 14:57:52 +0000 |
commit | fe6d34f024a20d57741b500a91649fa7032cc509 (patch) | |
tree | 110b2ad2612ede550834b973a9287c454c604904 /Src/Zle/zle_misc.c | |
parent | 5eb7948f86c518a489be3f4150c6cf588fd58727 (diff) | |
download | zsh-fe6d34f024a20d57741b500a91649fa7032cc509.tar.gz zsh-fe6d34f024a20d57741b500a91649fa7032cc509.tar.xz zsh-fe6d34f024a20d57741b500a91649fa7032cc509.zip |
24816: some places where we need cursor alignment with combining characters
Diffstat (limited to 'Src/Zle/zle_misc.c')
-rw-r--r-- | Src/Zle/zle_misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index fb8070e0a..fb03ee149 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -56,6 +56,8 @@ doinsert(ZLE_STRING_T zstr, int len) zleline[zlecs++] = *s; if(neg) zlecs += zmult * len; + /* if we ended up on a combining character, skip over it */ + CCRIGHT(); } /**/ |