limit lines to input

suckless/develop
Connor Lane Smith 14 years ago
parent 8e302717cb
commit 1cf3864464

@ -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…
Cancel
Save