The following patch does what I proposed. 'seq 1 1000000 | ./dmenu'
just feels as fast as the vanilla dmenu. After each select(), the file
descriptors are read until there is no data left on them (and match()
is called only once all the data in stdin has been read).
Cheers,
Christophe-Marie
This archive was generated by hypermail 2.2.0 : Tue Dec 07 2010 - 14:48:02 CET