diff options
Diffstat (limited to 'Src/Zle/zle_thingy.c')
-rw-r--r-- | Src/Zle/zle_thingy.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c index fd9fa3e7f..8cad90e2b 100644 --- a/Src/Zle/zle_thingy.c +++ b/Src/Zle/zle_thingy.c @@ -416,12 +416,18 @@ bin_zle_refresh(char *name, char **args, char *ops, char func) zmult = 1; listlist(l); + if (statusline) + lastlistlen++; showinglist = clearlist = 0; zmult = zmultsav; - } else if (ops['c']) + } else if (ops['c']) { clearlist = 1; - } else if (ops['c']) + lastlistlen = 0; + } + } else if (ops['c']) { clearlist = listshown = 1; + lastlistlen = 0; + } zrefresh(); clearlist = ocl; |