~dvn/olaplayer

prompt now displays videoid v1 APPLIED

Yosl: 1
 prompt now displays videoid

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~dvn/olaplayer/patches/8803/mbox | git am -3
Learn more about email & git

[PATCH] prompt now displays videoid Export this patch

Signed-off-by: Yosl <yosl@seattlemesh.net>
---
 main.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.go b/main.go
index a81ee79..d0aadc2 100644
--- a/main.go
+++ b/main.go
@@ -67,14 +67,14 @@ func main() {
		Size:  20,
	}

	_, result, err := prompt.Run()
	i, _, err := prompt.Run()

	if err != nil {
		fmt.Printf("Prompt failed %v\n", err)
		return
	}

	fmt.Printf("You choose %q\n", result)
	fmt.Printf("You choose %s\n", i+1, res[i].VideoId)
}

func initClient() string {
-- 
2.20.1