1
0
Fork 0

limit lines to input

This commit is contained in:
Connor Lane Smith 2011-10-13 20:43:59 +01:00
parent 8e302717cb
commit 1cf3864464

View file

@ -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