hxbrief: Restrict output height according to terminal size
Open
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
If the user specifies `-n 20` but our terminal window only has, say 10 lines, then we might want to actually use `n=9` (one extra for the status line).
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 locating hxbrief's handling of the `-n` option and its terminal-size logic; the issue names no files or tests. Confirm the expected behavior for a requested height larger than the terminal, including reserving one line for the status line, and add or update coverage if the relevant test location is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100