Re: [dwm] input status text bug?

From: Chris Webb <chris_AT_arachsys.com>
Date: Wed, 31 Oct 2007 09:02:50 +0000

"Anselm R. Garbe" <arg_AT_suckless.org> writes:

> If we decide for line-based input reading, one easily could
> block dwm from further event processing through running
>
> echo -n foo | dwm
>
> I think that'd be a big disadvantage.

It could append read text to the end of stext[] whenever it successfully
reads(), except that the first character after a '\n' clears stext[] and
starts a new status. It needn't block.

Best wishes,

Chris.
Received on Wed Oct 31 2007 - 10:03:15 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:03:40 UTC