Open
Conversation
raboof
reviewed
Nov 20, 2025
Owner
raboof
left a comment
There was a problem hiding this comment.
sounds good. I could imagine some people also wanting to suppress the PID USER .. and TOTAL line, but that can perhaps be a future feature when passing multiple -q.
I wonder if the expressions become easier to read when we introduce some more naming (like headerheight = 1 for the PID USER PROGRAM header) and ordering them 'top-to-bottom'?
Author
|
Perhaps. I don't claim to have any real skill in producing tidy code. :) Nor much experience with ncurses, to know standard practices for organising code. I'm just in a similar situation as the OP for #278 and seeing that it was fairly simple to add the option, and nobody else had submitted a PR, did it. :D |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a command line option to suppress the top banner. Useful for instance for small displays.
resolves #278