diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-10-18 14:33:00 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-10-18 14:33:00 -0500 |
commit | 30a1e4f21991dcc02d28106d6ba331b39332346e (patch) | |
tree | e47555ce010248e940af119766d59945f3762e89 /main.go | |
parent | Use in-the-field TOML example (diff) | |
download | wsl-tui-30a1e4f21991dcc02d28106d6ba331b39332346e.tar wsl-tui-30a1e4f21991dcc02d28106d6ba331b39332346e.tar.gz wsl-tui-30a1e4f21991dcc02d28106d6ba331b39332346e.tar.bz2 wsl-tui-30a1e4f21991dcc02d28106d6ba331b39332346e.tar.lz wsl-tui-30a1e4f21991dcc02d28106d6ba331b39332346e.tar.xz wsl-tui-30a1e4f21991dcc02d28106d6ba331b39332346e.tar.zst wsl-tui-30a1e4f21991dcc02d28106d6ba331b39332346e.zip |
Add accessibility mode
Why not
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |