Hi Laslo,

* Laslo Hunhold <[email protected]> [2022-04-29 16:57]:
Yes, a progress indicator would be nonsense in the general case of
course. In the general case, though, dmenu won't block when reading
from stdin and I proposed a "busy" indication only in the case a read
from stdin blocks. What I proposed was that dmenu does it all
asynchronously and actually creates a window and allows keyboard input
even when stdin hasn't even been fully consumed yet.
This would ensure minimal latency on startup and until you can enter a
query, but would also usually not show a progress indicator, as it
would usually not block when reading from stdin (which it would do at
least once before running the string matching algorithm).

That sounds like the non_blocking_stdin patch:

http://tools.suckless.org/dmenu/patches/non_blocking_stdin/

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to