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

From: Christophe-Marie Duquesne <chm.duquesne_AT_gmail.com>
Date: Wed, 1 Dec 2010 13:59:04 +0100

On Wed, Dec 1, 2010 at 12:12 PM, Ramil Farkhshatov <ramil_AT_gmx.co.uk> wrote:
> Christophe-Marie Duquesne <chm.duquesne_AT_gmail.com> wrote:
> If dmenu starts matching after exhausting of data then it will not
> differ in behaviour from synchronous vanilla version.

Except it won't block if it does not read EOF, which was more or less
the initial goal, wasn't it? This way, if data arrives on stdin, it is
read as fast as possible (blocking the user from typing stuff
meanwhile, but minimizing the time needed for reading) and if there is
no data left to read, dmenu will read X events. If there is not too
much data to read (in a case like a google_suggest script, which feeds
10 lines to stdin at each stroke) this should feel instantaneous.
Received on Wed Dec 01 2010 - 13:59:04 CET

This archive was generated by hypermail 2.2.0 : Wed Dec 01 2010 - 14:00:05 CET