diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-06 10:07:37 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-06 10:07:37 +0000 |
| commit | e87b35c04ea6bfda7a0dbada9e3629343e71d4a1 (patch) | |
| tree | e8142fc98cb6bd4df8f44de7ea964b4b2ac40d91 | |
| parent | 22819: improved internal use of string quotation, (diff) | |
| download | zsh-e87b35c04ea6bfda7a0dbada9e3629343e71d4a1.tar zsh-e87b35c04ea6bfda7a0dbada9e3629343e71d4a1.tar.gz zsh-e87b35c04ea6bfda7a0dbada9e3629343e71d4a1.tar.bz2 zsh-e87b35c04ea6bfda7a0dbada9e3629343e71d4a1.tar.lz zsh-e87b35c04ea6bfda7a0dbada9e3629343e71d4a1.tar.xz zsh-e87b35c04ea6bfda7a0dbada9e3629343e71d4a1.tar.zst zsh-e87b35c04ea6bfda7a0dbada9e3629343e71d4a1.zip | |
10791: fix handling of long accumulated completion line
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Src/Zle/compresult.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-10-06 Peter Stephenson <pws@csr.com> + + * 10791: Src/Zle/compresult.c: accumulated completions + on single line could cause border disputes resulting in + skirmishes with cursor position. + 2006-10-05 Peter Stephenson <pws@csr.com> * unposted: Completion/Unix/Command/_perforce: improved diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index e28212c19..57510cd03 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -2126,7 +2126,7 @@ bld_all_str(Cmatch all) if (add) strcat(buf, " "); strcat(buf, m->str); - len -= t; + len -= t + add; add = 1; } else { if (len > add + 2) { |
