on main help sign in
chore: remove box, have less styling
bcff715Andrey Nering
main.go−8
@@ -40,17 +40,9 @@ func main() {
40func showWindowsWarning() {
40func showWindowsWarning() {
41 content := lipgloss.JoinVertical(lipgloss.Left,
41 content := lipgloss.JoinVertical(lipgloss.Left,
42 lipgloss.NewStyle().Bold(true).Render("WARNING:")+" Crush is experimental on Windows!",
42 lipgloss.NewStyle().Bold(true).Render("WARNING:")+" Crush is experimental on Windows!",
43− "",
44 "While we work on it, we recommend WSL2 for a better experience.",
43 "While we work on it, we recommend WSL2 for a better experience.",
45− "",
46 lipgloss.NewStyle().Italic(true).Render("Press Enter to continue..."),
44 lipgloss.NewStyle().Italic(true).Render("Press Enter to continue..."),
47 )
45 )
48− content = lipgloss.NewStyle().
49− Border(lipgloss.RoundedBorder()).
50− Padding(1).
51− Render(content)
52− content += "\n"
53−
54 fmt.Print(content)
46 fmt.Print(content)
55
47
56 var input string
48 var input string