diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/zle_refresh.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index e5113d174..f7f047eb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-19 Geoff Wing <gcw@zsh.org> + + * 16635: Src/Zle/zle_refresh.c: make sure we display lists in + singlelinezle mode + 2002-02-18 Wayne Davison <wayned@users.sourceforge.net> * 16672: Src/hist.c: Fixed a just-introduced bug in prepnexthistent() 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 */ } /**/ |