[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dialog and large selection lists
From: |
nick black |
Subject: |
Re: Dialog and large selection lists |
Date: |
Fri, 14 Dec 2012 09:43:52 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Peter Hansson left as an exercise for the reader:
> I'm trying to use Dialog for some rather large selection lists (in the range
> 20-100 items).
> User must select one and one only of these items.
> For this purpose I'm using the menu widget.
I've written pretty gross code to handle a similar situation. It's currently
embedded within
https://github.com/dankamongmen/growlight/blob/master/src/ncurses.c,
but I'm someday soon going to extract some of these routines and expose them
as an ncurses extension library. Feel free to rip anything here off you'd
like.
--
nick black http://www.sprezzatech.com -- unix and hpc consulting
to make an apple pie from scratch, you need first invent a universe.