limit lines to input
This commit is contained in:
parent
f90d89fd38
commit
6a5bcd6ac9
@ -454,6 +454,7 @@ readstdin(void) {
|
|||||||
if(items)
|
if(items)
|
||||||
items[i].text = NULL;
|
items[i].text = NULL;
|
||||||
inputw = maxstr ? textw(dc, maxstr) : 0;
|
inputw = maxstr ? textw(dc, maxstr) : 0;
|
||||||
|
lines = MIN(lines, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user