You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When rendering a table with no outside borders (i.e. top, bottom, left, and right are disabled) and internal borders enabled (i.e. row and column are enabled), the borders do not align correctly. Extra characters are rendered for the horizontal borders.
Setup
Please complete the following information along with version numbers, if applicable.
OS: Windows 11
Shell: PowerShell 7.4.4, git bash
Terminal Emulator: Alacritty, Windows Terminal, Git Bash
Terminal Multiplexer: N/A
Locale: en_GB.UTF-8
To Reproduce
Steps to reproduce the behavior:
Create a new go module (mkdir table && cd table && go mod init table)
Describe the bug
When rendering a table with no outside borders (i.e. top, bottom, left, and right are disabled) and internal borders enabled (i.e. row and column are enabled), the borders do not align correctly. Extra characters are rendered for the horizontal borders.
Setup
Please complete the following information along with version numbers, if applicable.
To Reproduce
Steps to reproduce the behavior:
mkdir table && cd table && go mod init table
)main.go
with the contents belowgo get .
to pull dependenciesgo run .
Source Code
main.go
Expected behavior
The additional characters (
├
and┤
) would not be rendered, resulting in:Screenshots
Additional context
This is inconsistent with the type of border, I have included a list of them all below:
The text was updated successfully, but these errors were encountered: