@@ -6,6 +6,7 @@ import (
10 _ "net/http/pprof" // profiling
11 _ "net/http/pprof" // profiling
@@ -38,11 +39,11 @@ func main() {
40func showWindowsWarning() {
41func showWindowsWarning() {
41− content := lipgloss.JoinVertical(lipgloss.Left,
42+ content := strings.Join([]string{
42− lipgloss.NewStyle().Bold(true).Render("WARNING:")+" Crush is experimental on Windows!",
43+ lipgloss.NewStyle().Bold(true).Render("WARNING:") + " Crush is experimental on Windows!",
43 "While we work on it, we recommend WSL2 for a better experience.",
44 "While we work on it, we recommend WSL2 for a better experience.",
44 lipgloss.NewStyle().Italic(true).Render("Press Enter to continue..."),
45 lipgloss.NewStyle().Italic(true).Render("Press Enter to continue..."),
46 fmt.Print(content)
47 fmt.Print(content)
48 var input string
49 var input string