tlimit lines to input - dmenu - Dmenu fork with xft fonts.
 (HTM) git clone git://r-36.net/dmenu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1cf386446458d9b12f6bdca9e34a340c10f79c26
 (DIR) parent 8e302717cb2d03c79c2f372f5e0489ea54dbb440
 (HTM) Author: Connor Lane Smith <cls@lubutu.com>
       Date:   Thu, 13 Oct 2011 20:43:59 +0100
       
       limit lines to input
       Diffstat:
         dmenu.c                             |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/dmenu.c b/dmenu.c
       t@@ -454,6 +454,7 @@ readstdin(void) {
                if(items)
                        items[i].text = NULL;
                inputw = maxstr ? textw(dc, maxstr) : 0;
       +        lines = MIN(lines, i);
        }
        
        void