limit lines to input
This commit is contained in:
parent
8e302717cb
commit
1cf3864464
1 changed files with 1 additions and 0 deletions
1
dmenu.c
1
dmenu.c
|
@ -454,6 +454,7 @@ readstdin(void) {
|
|||
if(items)
|
||||
items[i].text = NULL;
|
||||
inputw = maxstr ? textw(dc, maxstr) : 0;
|
||||
lines = MIN(lines, i);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue