add vbios extration page
This commit is contained in:
parent
9dc81bd568
commit
b033a787b8
4 changed files with 68 additions and 1 deletions
16
pkg/menu/ok.go
Normal file
16
pkg/menu/ok.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package menu
|
||||
|
||||
import "github.com/nexidian/gocliselect"
|
||||
|
||||
// Make a YesNo menu
|
||||
func Ok(msg string) string {
|
||||
// Make the menu
|
||||
menu := gocliselect.NewMenu(msg)
|
||||
menu.AddItem("OK", "next")
|
||||
|
||||
// Display the menu
|
||||
choice := menu.Display()
|
||||
|
||||
// Return the value selected
|
||||
return choice
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue