]> git.neil.brown.name Git - edlib.git/commit
menu: allow short-cut keys to be shown.
authorNeilBrown <neil@brown.name>
Wed, 30 Aug 2023 23:28:40 +0000 (09:28 +1000)
committerNeilBrown <neil@brown.name>
Wed, 30 Aug 2023 23:37:51 +0000 (09:37 +1000)
commit7aa1a5f63d296d4f6a1bedf4351753b0f9a7cc26
tree2c9b44b1a163d558a6bb91bf0dd18b63c3d68894
parent05ee79fec8133dd7ca8df8319d85167b3880a3be
menu: allow short-cut keys to be shown.

If menu it attached with are '1', the "value" passed to the action
command will be shown right-justified.  This can be used to display
hot keys.
If "value" starts with a space, it is assumed the action doesn't have a
shortcut, and the value is suppressed.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
lib-menu.c