1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 06:51:03 +02:00

31781: "compdescribe -i" clears the completion list column padding width

This commit is contained in:
Barton E. Schaefer 2013-10-03 14:52:54 -07:00
parent ae92cadc75
commit ea30fdaf25
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-10-03 Barton E. Schaefer <schaefer@zsh.org>
* 31781: Src/Zle/computil.c: "compdescribe -i" must clear the
completion list column padding width along with the rest of the
description state. Cf. 31782.
2013-09-26 Barton E. Schaefer <schaefer@zsh.org>
* 31772: Src/params.c: queue_signals() to prevent re-entry into

View file

@ -465,6 +465,7 @@ cd_init(char *nam, char *hide, char *mlen, char *sep,
cd_state.showd = disp;
cd_state.maxg = cd_state.groups = cd_state.descs = 0;
cd_state.maxmlen = atoi(mlen);
cd_state.premaxw = 0;
itmp = zterm_columns - cd_state.swidth - 4;
if (cd_state.maxmlen > itmp)
cd_state.maxmlen = itmp;