AcademySoftwareFoundation / AcademySoftwareFoundation/rez
rez-context line continuation looks odd when you resize a window
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 374
- Avg merge
- 9d 12h
- Merged PRs (30d)
- 5
Description
When the rez context is displayed, either via a rez-env or rez-context call, there seems to be whitespace at the end of all the output lines. When you resize the window, all the lines will start to line wrap as soon as the longest line starts to wrap. I know it's cosmetic but it can be rather annoying. We address this by adding a sed to eliminate trailing whitespace:
> `rez-context | sed 's/ *$//'`
But it would be nice if rez-env and rez-context didn't insert any trailing whitespace in the output making sed unnecessary.
Contributor guide
Research direction
Start by reproducing the issue with `rez-context` and `rez-env`, including resizing the terminal, and trace where their displayed output is generated. Done means the commands no longer emit trailing whitespace and line wrapping remains correct when the window is resized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100