MaibornWolff / MaibornWolff/codecharta
Unifiedparser: Progress Bar creates new lines when terminal window too small
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 529
- Forks
- 56
- Avg merge
- 7h 17m
- Merged PRs (30d)
- 34
Description
# Bug
## Expected Behavior
When I launch `ccsh unifiedparser . -o exposed.uni` (here [JetBrains exposed Framework](https://github.com/JetBrains/Exposed) but that is irrelevant)
THEN the progress bar should always be on the same line
## Actual Behavior
When I launch `ccsh unifiedparser . -o exposed.uni` (here [JetBrains exposed Framework](https://github.com/JetBrains/Exposed) but that is irrelevant)
AND my terminal window is small
THEN every file name that is larger than the space available produces a line break
Small terminal window:
Medium terminal window:
Wide terminal window:
## Steps to Reproduce the Problem
1. Change the size of your terminal so a file name produces a line break
## Specifications
- CodeCharta Version: 1.134.0
- OS: MacOs
- Shell: Fish
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 with the `ccsh unifiedparser` entry point and locate the progress-bar output used while processing files. Reproduce the issue with a narrow terminal and a filename that exceeds the available width, then verify that progress remains on one line without unwanted line breaks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100