diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/zle_refresh.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 10870961b..048e465bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 21936: Src/Zle/zle_refresh.c: fix one bug when deleting + an extra-wide character. + 2005-10-25 Peter Stephenson <p.w.stephenson@ntlworld.com> * 21935: Documentation for 21933. diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 4fbcd1e71..8efde9048 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -1138,6 +1138,12 @@ refreshline(int ln) tc_delchars(i); ol += i; char_ins -= i; +#ifdef ZLE_UNICODE_SUPPORT + while (*ol == WEOF) { + ol++; + char_ins--; + } +#endif i = 0; break; } |