Skip to content
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

[BUG] Multi line strings break vertical alignment #13

Closed
Delta456 opened this issue Oct 31, 2020 · 3 comments · Fixed by #11
Closed

[BUG] Multi line strings break vertical alignment #13

Delta456 opened this issue Oct 31, 2020 · 3 comments · Fixed by #11
Labels
bug Something isn't working

Comments

@Delta456
Copy link
Owner

Describe the bug
The vertical alignment of the Box in the right will be broken if multi line strings are used.

To Reproduce
Steps to reproduce the behavior:

Box := box.New(box.Config{Px: 2, Py: 5, Type: Single})
Box.Println(`Box CLI Maker 
		foo foobar`, `Highly Customized Terminal Box Maker  
		bar`)

Expected behavior
The vertical alignment shouldn't break.

Screenshots / Logs
If applicable, add screenshots or logs to help explain your problem.

image

Versions (please complete the following information, if relevant):

  • Software version: v1.3.2
  • OS: Windows 10
  • Golang version: 1.15.3
@Delta456 Delta456 added the bug Something isn't working label Oct 31, 2020
@Delta456 Delta456 linked a pull request Nov 1, 2020 that will close this issue
15 tasks
@Delta456
Copy link
Owner Author

Delta456 commented Nov 1, 2020

Fixed in #11

@Delta456 Delta456 mentioned this issue Nov 1, 2020
15 tasks
@Delta456
Copy link
Owner Author

Delta456 commented Nov 2, 2020

This still isn't resolved. The vertical alignment will break for more than 1 tab.

@Delta456
Copy link
Owner Author

Delta456 commented Nov 8, 2020

Fixed by #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant