diff --git a/main.go b/main.go index 7fc25e2464b3a0f2942524f8028e50dafc381673..ba1fdcd5e443e354d8ee288648055ccced01a653 100644 --- a/main.go +++ b/main.go @@ -6,6 +6,7 @@ import ( "net/http" "os" "runtime" + "strings" _ "net/http/pprof" // profiling @@ -38,11 +39,11 @@ func main() { } func showWindowsWarning() { - content := lipgloss.JoinVertical(lipgloss.Left, - lipgloss.NewStyle().Bold(true).Render("WARNING:")+" Crush is experimental on Windows!", + content := strings.Join([]string{ + lipgloss.NewStyle().Bold(true).Render("WARNING:") + " Crush is experimental on Windows!", "While we work on it, we recommend WSL2 for a better experience.", lipgloss.NewStyle().Italic(true).Render("Press Enter to continue..."), - ) + }, "\n") fmt.Print(content) var input string