diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-14 09:43:42 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-14 09:43:42 +0000 |
commit | 0e7c726c326ec255e00ce43818c793d974bc2268 (patch) | |
tree | 44328e108bd5ad0b9a0af76f3ea7f96227b9fefa /Src/Zle/zle_refresh.c | |
parent | ae54428aedb8f237f090f302750df5b6c51a8fb9 (diff) | |
download | zsh-0e7c726c326ec255e00ce43818c793d974bc2268.tar.gz zsh-0e7c726c326ec255e00ce43818c793d974bc2268.tar.xz zsh-0e7c726c326ec255e00ce43818c793d974bc2268.zip |
zsh-workers/10127
Diffstat (limited to 'Src/Zle/zle_refresh.c')
-rw-r--r-- | Src/Zle/zle_refresh.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index 4c5a0cdf8..75da73efb 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -59,6 +59,11 @@ mod_export int showinglist; /**/ mod_export int listshown; +/* Length of last list displayed (if it is below the prompt). */ + +/**/ +mod_export int lastlistlen; + /* Non-zero if ALWAYS_LAST_PROMPT has been used, meaning that the * * screen below the buffer display should not be cleared by * * zrefresh(), but should be by trashzle(). */ @@ -282,7 +287,7 @@ zrefresh(void) clearflag = 0; resetneeded = 1; } - listshown = 0; + listshown = lastlistlen = 0; if (showinglist != -2) showinglist = 0; } |