masukomi / masukomi/Prettier-Table
incorrect handling of multiline titles
Nobody has claimed this yet.
- Dominant language
- Raku
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
It's probably just counting total characters (including the `\n` or `\r\n` characters) instead of breaking it down by line and finding the longest one, without invisible characters.
Tackle this after #1 because we'll need to use whatever new method we make to strip invisible characters.
see below
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing issue #1, since this issue depends on the method introduced there. Use the attached screenshot to understand the multiline-title failure, then verify that title width is based on the longest visible line rather than newline characters. Done means multiline titles render with correct column widths and invisible characters are excluded.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100