add vbios extration page

This commit is contained in:
HikariKnight 2023-10-27 19:42:17 +02:00
parent 9dc81bd568
commit b033a787b8
4 changed files with 68 additions and 1 deletions

16
pkg/menu/ok.go Normal file
View 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
}