From d5b6d1f40c7dcbc1510e4335924889b55fb648db Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 31 May 2000 06:31:22 +0000 Subject: move to last cursor after not asking a second time if list should be shown (11682) --- Src/Zle/compresult.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Src/Zle/compresult.c') diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index c55b65b0a..4ffd4d62a 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -1661,7 +1661,9 @@ asklist(void) putc('\n', shout); settyinfo(&shttyinfo); minfo.asked = 1; - } + } else if (minfo.asked == 2) + tcmultout(TCUP, TCMULTUP, nlnct); + return (minfo.asked ? minfo.asked - 1 : 0); } -- cgit 1.4.1