Re: [dev] [dmenu] patch: default input text

From: Felix Kaiser <felix.kaiser_AT_fxkr.net>
Date: Fri, 9 Nov 2012 02:21:03 +0100

On Fri, Nov 9, 2012 at 1:54 AM, chris hall <followingthepath_AT_gmail.com> wrote:
> If you want dmenu to have 1 option as a default then what is wrong with the
> following:
> echo "some default value" | dmenu
>
> In your patch you have to delete text in order to use something other than
> the default,
> and once you have edited it then you cant reselect it.
> In the provided example above I can hit tab to select it, I can begin typing
> something
> else and then hit ctrl-w and tab to get the default back.
>
> I find this much more elegant and general, I could be missing something.
>
> Cheers,
> ~Chris

Hi Chris,

you're right, thats way better. I wonder how I could miss that.

Thanks!
Felix
Received on Fri Nov 09 2012 - 02:21:03 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 09 2012 - 02:24:05 CET