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 | 0f95dbf3c6431af0a98db298da2b45c248c1bfe4 (patch) | |
tree | 0095c0abc0458c03e8a2052fa99f16b46b640ef6 | |
parent | Use in-the-field TOML example (diff) | |
download | wsl-tui-master.tar wsl-tui-master.tar.gz wsl-tui-master.tar.bz2 wsl-tui-master.tar.lz wsl-tui-master.tar.xz wsl-tui-master.tar.zst wsl-tui-master.zip |
Why not
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-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 { |