support for prompts

This commit is contained in:
Ivar Fatland
2026-05-12 13:41:12 +02:00
parent 1db82da82b
commit fc920e2b36
2 changed files with 55 additions and 22 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ func main() {
choices = slices.DeleteFunc(choices, func(l string) bool {
return l == ""
})
choice, ok := picker.RaylibPicker(choices)
choice, ok := picker.Picker(
choices,
)
if ok {
fmt.Println(choices[choice])
}