-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering Issues on Windows #30
Comments
Thank you for the kind words on Lip Gloss and Bubble Tea! And oh my, this looks quite odd. We'll investigate this shortly and get back to you. Thanks for flagging this. |
Hi! I'm not able to produce this behavior on Windows (see the screenshot below showing Lip Gloss output in Windows Terminal, PowerShell standalone, and the legacy command console in Windows 10. Are there any more details you can provide on your environment? In particular, Windows version, terminal font…and maybe locale? |
I think this may be a font issue…but it's difficult to say. Could you try pasting this this into a text file:
…and then running |
Cool, let me know! The other thing to double check is that all your fonts (including the fallbacks are monospaced fonts (and not proportional ones). In both cases it looks like your Latin fonts (and maybe your CJK ones as well) are proportional fonts. |
Solved. |
Awesome. This is really good to know. Thanks for the details on how you fixed it. I’m going to close this issue, but feel free to open it back up if you notice any other odd behavior. |
I found border rendering is very strange, I've tried on Windows Terminal and legacy CMD, both are missing some characters, am I missing some configs?
Here is my code:
logo := "foo bar" fmt.Printf(lipgloss.NewStyle().BorderStyle(lipgloss.DoubleBorder()).Render(logo))
BTW, I love this lib and bubbletea. I'm trying to build a cli tool in go, your repo is the most elegant framework I've ever seen. Thanks for building this.
The text was updated successfully, but these errors were encountered: