[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dialog] Feature request: user-configurable hot keys for items
From: |
Thomas Dickey |
Subject: |
Re: [dialog] Feature request: user-configurable hot keys for items |
Date: |
Thu, 12 May 2016 05:10:32 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature