QuantStack / QuantStack/git2cpp
Handle long lines in terminal pager
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6
- Forks
- 5
- Avg merge
- 4h 22m
- Merged PRs (30d)
- 4
Description
Lines that are longer than the terminal width are not handled correctly in the terminal pager, which assumes they are just one line when written to the terminal whereas they will actually be more than one. This will need a calculation of the length of each line, ignoring ansi color codes.
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 at the terminal pager implementation and reproduce the problem with lines longer than the terminal width, including ANSI color codes. The work is done when the pager accounts for the displayed width of each line and handles long colored lines correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100