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

Record new graph data even when no graph is drawn. #1315

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

Explorer09
Copy link
Contributor

Fixes a regression caused by 74b2884.

When a graph meter is too narrow to draw the graph, but the graph data buffer is allocated, the meter should keep recording new values.

@BenBE BenBE added the bug 🐛 Something isn't working label Oct 11, 2023
@BenBE BenBE added this to the 3.3.0 milestone Oct 11, 2023
Meter.c Outdated Show resolved Hide resolved
Copy link
Member

@BenBE BenBE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor code style suggestions.

Meter.c Outdated Show resolved Hide resolved
Meter.c Outdated Show resolved Hide resolved
Fixes a regression caused by 74b2884.

When a graph meter is too narrow to draw the graph, but the graph data
buffer is allocated, the meter should keep recording new values.

Signed-off-by: Kang-Che Sung <[email protected]>
@BenBE BenBE merged commit 4ef3e1f into htop-dev:main Oct 26, 2023
12 checks passed
@Explorer09 Explorer09 deleted the graphdata-alloc branch October 27, 2023 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants