1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01: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

@ -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;