-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Left border is missing #1634
Description
Describe the bug
A clear and concise description of what the bug is.
I am trying to adapt my app for Windows, and we have a problem with the left borders. They are completely missing, with the connector (the curved line). The right and top ones are all intact. It particularly doesnt work, when running on Windows in the Powershell (also tried WezTerm). With WSL everything works fine.
Setup
Please complete the following information along with version numbers, if applicable.
- OS in this case, Windows
- Shell cmd.exe & powershell
- Terminal Emulator ANY
- Terminal Multiplexer none in the testing
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Source Code
DialogBoxStyle = lipgloss.NewStyle().
Border(lipgloss.RoundedBorder()).
BorderForeground(lipgloss.Color("#25A065")).
Padding(1, 0).
BorderTop(true).
BorderLeft(true).
BorderRight(true).
BorderBottom(true)This is the definition of a style
and this is the usage:
dialog := DialogBoxStyle.Render(accountList.String())This is just an example, the full repo is at floatpane/matcha. There are several uses across tui/composer.go, tui/drafts, tui/settings (where there is this dialogbox and also a theme preview, which is also missing the left border)
Expected behavior
All the borders intact.
Screenshots
Additional context:
I tried to fix the issue by:
- Adding horizontal padding
- Changing the
MaxWidth - Adding
MarginLeft