1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-24 05:11:08 +02:00

Don't segv if we were displaying n lines and screen was

resized to less than  n  lines
This commit is contained in:
Geoff Wing 2001-08-15 15:17:42 +00:00
parent 2eda2a0921
commit b67e8b380c

View file

@ -350,7 +350,7 @@ zrefresh(void)
listshown = 0;
}
if (t0 > -1)
olnct = t0;
olnct = (t0 < winh) ? t0 : winh;
if (termflags & TERM_SHORT)
vcs = 0;
else if (!clearflag && lpromptbuf[0]) {