From 30a1e4f21991dcc02d28106d6ba331b39332346e Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 18 Oct 2024 14:33:00 -0500 Subject: Add accessibility mode Why not Signed-off-by: Matt Strapp --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 2b4487b..ea3c821 100644 --- a/main.go +++ b/main.go @@ -58,7 +58,7 @@ func main() { log.Fatal(err) } - // fmt.Println(config) + accessibleMode := os.Getenv("ACCESSIBLE") != "" var distro Distribution @@ -79,7 +79,7 @@ func main() { }, &config, ), ), - ).WithTheme(huh.ThemeDracula()).Run() + ).WithAccessible(accessibleMode).WithTheme(huh.ThemeDracula()).Run() if err != nil { if err == huh.ErrUserAborted { -- cgit v1.2.3