Re: [dev] [hack] Having dmenu provide hints about current selected entry

From: Christophe-Marie Duquesne <chm.duquesne_AT_gmail.com>
Date: Mon, 29 Nov 2010 01:17:46 +0100

Hi,

I rewrote my proposal with select(). Now readstdin() will return if it
cannot read data from stdin during more than 1 u_sec. It will set the
static flag 'eof' to 1 if it has read the end of file character. This
way while eof is 0, you know you should call readstdin() again.

Attached is a patch that you can also pull from
https://bitbucket.org/chmduquesne/dmenu

Received on Mon Nov 29 2010 - 01:17:46 CET

This archive was generated by hypermail 2.2.0 : Mon Nov 29 2010 - 01:24:02 CET