Re: [dev] [dmenu] handling space(?)

From: v4hn <me_AT_v4hn.de>
Date: Wed, 17 Apr 2013 23:40:25 +0200

On Wed, Apr 17, 2013 at 11:02:12PM +0200, Swiatoslaw Gal wrote:
> If I run `echo lorem|dmenu`
> and then type "lorem l<RET>"
> dmenu selects 'lorem' not 'lorem l'
> if I type "lorem i" the ouptput is "lorem i" as expected.
> Seems like a bug to me, am I wrong?

You're wrong, that's a feature.
(Although it can be pretty annoying when using snotes)

strings separated by space are considered to be separate tokens
describing the same menu entry. If you want to return
"lorem l" in your case press SHIFT+ENTER to select the string.


v4hn

Received on Wed Apr 17 2013 - 23:40:25 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 17 2013 - 23:48:05 CEST