lspitzner / lspitzner/hxtools

hxbrief: Restrict output height according to terminal size

Open
#15 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.