[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dialog] Feature request: user-configurable hot keys for items
From: |
Michael D. Setzer II |
Subject: |
Re: [dialog] Feature request: user-configurable hot keys for items |
Date: |
Thu, 12 May 2016 21:08:22 +1000 |
On 12 May 2016 at 5:10, Thomas Dickey wrote:
Date sent: Thu, 12 May 2016 05:10:32 -0400
From: Thomas Dickey <address@hidden>
To: Cristian Rigamonti <address@hidden>
Subject: Re: [dialog] Feature request: user-configurable hot keys for
items
Send reply to: address@hidden
Copies to: address@hidden
> On Tue, May 10, 2016 at 11:30:41PM +0200, Cristian Rigamonti wrote:
> > Hi, at the moment hot keys for list items are automatically generated taking
> > the first letter of the item tag; it would be useful if the user could
> > optionally override this and choose the hot key for each tag.
> >
> > For example using the syntax used in PO files when translating software,
> > prepending an underscore to the desired hot key:
> >
> > dialog ... --radiolist "text" 10 50 10 Tag1 Item1 on T_ag2 Item2 off
> >
> > Item1 would have "t" as a hotkey (default behaviour), Item2 would have "a"
> > (and of course "__" could be used to print a literal underscore).
>
> ...but doing that would modify scripts that have underscores
Why not just add the tag before.
dialog --radiolist "test" 10 50 10 "A: Tag1" item1 on "B: Tag2" item2 off
>
> --
> Thomas E. Dickey <address@hidden>
> http://invisible-island.net
> ftp://invisible-island.net
>
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:address@hidden
mailto:address@hidden
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
address@hidden CREDITS
ABC 16613838.513356 | EINSTEIN 97833911.455695
ROSETTA 43700067.902420 | SETI 81729355.628631