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:
parent
2eda2a0921
commit
b67e8b380c
1 changed files with 1 additions and 1 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Reference in a new issue