Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add options softmin and hardmin #22

Open
emk2203 opened this issue Feb 16, 2019 · 2 comments
Open

Please add options softmin and hardmin #22

emk2203 opened this issue Feb 16, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@emk2203
Copy link

emk2203 commented Feb 16, 2019

During real-life use, it turns out that having minimum options would be convenient. Could they be added?

For something exceeding the max and min values, I propose to have a full bar with some marker for max and not drawing anything at all for min, to distinguish them.

@gromgit
Copy link
Contributor

gromgit commented Feb 16, 2019

For something exceeding the max and min values, I propose to have a full bar with some marker for max and not drawing anything at all for min, to distinguish them.

I submitted PR #21 just before you posted, adding a -C (clipping char) option to draw bars with a different character when the plot's max value is exceeded. For example:

while true; do echo ${RANDOM} ${RANDOM}; sleep 1; done | ttyplot -2 -C @ -m 2000 -t "random values"

@tenox7 tenox7 added the enhancement New feature or request label Jul 25, 2019
@hartwork
Copy link
Collaborator

@tenox7 can this be closed as fixed by #47 or is anything still missing?

@hartwork hartwork changed the title Feature request: Please add options softmin and hardmin Please add options softmin and hardmin Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants