about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorGeoff Wing <gcw@users.sourceforge.net>2002-02-19 00:06:54 +0000
committerGeoff Wing <gcw@users.sourceforge.net>2002-02-19 00:06:54 +0000
commit71749e822abcf5e768e0affa5a08531912940159 (patch)
tree6f1ae37b5db94f513d8f3de9a5b304b251bd0b62 /Src/Zle
parentd8ed8e965973b80517f1441a0bb8884deee84fad (diff)
downloadzsh-71749e822abcf5e768e0affa5a08531912940159.tar.gz
zsh-71749e822abcf5e768e0affa5a08531912940159.tar.xz
zsh-71749e822abcf5e768e0affa5a08531912940159.zip
16635: make sure we display lists in singlelinezle mode
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_refresh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index 0029b088c..17c373732 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -393,7 +393,7 @@ zrefresh(void)
 
     if (termflags & TERM_SHORT) {
 	singlerefresh();
-	return;
+	goto singlelineout;
     }
 
     if (cs < 0) {
@@ -643,6 +643,7 @@ individually */
     onumscrolls = numscrolls;
     if (nlnct > vmaxln)
 	vmaxln = nlnct;
+singlelineout:
     fflush(shout);		/* make sure everything is written out */
 
     /* if we have a new list showing, note it; if part of the list has been
@@ -1183,7 +1184,6 @@ singlerefresh(void)
     qbuf = nbuf;
     nbuf = obuf;
     obuf = qbuf;
-    fflush(shout);		/* make sure everything is written out */
 }
 
 /**/