]> git.ipfire.org Git - thirdparty/util-linux.git/commit - fdisks/fdisk-menu.c
fdisk: add new stuff to display menus
authorKarel Zak <kzak@redhat.com>
Fri, 17 May 2013 10:35:23 +0000 (12:35 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Sep 2013 14:46:55 +0000 (16:46 +0200)
commit161b0d1aa97a73f12b1a56451e47d3a9ba902945
tree65d44a846961c20a264b07fcb02f0d53308edca1
parent7ab242ecbe715922f82442a261aa7cbc6d6e132e
fdisk: add new stuff to display menus

fdisk menus:

 - driven by menu and menu_entry structs
 - supports normal and expect mode
 - supports multiple independent menus
 - supports menu separators to make output more readable
 - allows to exclude by whole menu or menu entries by label type

TODO:
 - define per label menus
 - per menu callback
 - sensitive only to keys defined in the currently printed menu

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisks/Makemodule.am
fdisks/fdisk-menu.c [new file with mode: 0644]