Re: [wmii] wmiimenu menu length

From: Nico Golde <nico_AT_ngolde.de>
Date: Wed, 10 May 2006 15:13:50 +0200

Hallo Anselm,

* Anselm R. Garbe <garbeam_AT_wmii.de> [2006-05-10 14:55]:
> On Wed, May 10, 2006 at 09:26:10AM +0200, Nico Golde wrote:
> > * Anselm R. Garbe <garbeam_AT_wmii.de> [2006-05-10 01:55]:
> > > On Tue, May 09, 2006 at 04:37:30PM +0400, Alexander Polakov wrote:
> > > > I tried mpc playlist | wmiimenu but only 29 first entries are
> > > > shown :( I have 174 entries in playlist. I'm using rc0
> > >
> > > Try rc3 and report again. Check if you cannot select rightwards
> > > with Right cursor key.
> >
> > Thats exactly the problem I mentioned with long texts in
> > wmiimenu!
>
> There is no sane solution for such problems except avoiding to
> write extremely long items to wmiimenu.

What about cutting the string if strlen(buffer) > width in
pseudocode?
regards nico

-- 
Nico Golde - JAB: nion_AT_jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org
Forget about that mouse with 3/4/5 buttons -
gimme a keyboard with 103/104/105 keys!

Received on Wed May 10 2006 - 15:14:14 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:04:45 UTC