about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2013-10-03 14:52:54 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2013-10-03 14:52:54 -0700
commitea30fdaf25ad11ca727d3708bdd47b0f90d9ff68 (patch)
tree39666e1baa43da073cfcb20a2c9d90363f2e94d3 /Src
parentae92cadc75fbf7e8ec356cf09d3f73db9868424b (diff)
downloadzsh-ea30fdaf25ad11ca727d3708bdd47b0f90d9ff68.tar.gz
zsh-ea30fdaf25ad11ca727d3708bdd47b0f90d9ff68.tar.xz
zsh-ea30fdaf25ad11ca727d3708bdd47b0f90d9ff68.zip
31781: "compdescribe -i" clears the completion list column padding width
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/computil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index f8983c3ff..ee3918566 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -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;