Skip to content

Fix annoying flicker#102

Merged
jordalgo merged 1 commit into
libbpf:masterfrom
jordalgo:fix_flicker
Dec 3, 2025
Merged

Fix annoying flicker#102
jordalgo merged 1 commit into
libbpf:masterfrom
jordalgo:fix_flicker

Conversation

@jordalgo

@jordalgo jordalgo commented Dec 3, 2025

Copy link
Copy Markdown
Collaborator

I saw this with a few logs where the "hint" section at the bottom (that contains the selected and
hovered line) grows in height which causes the
main section with the log to resize, which can
change what line you're hovering on and then causes the "hint" section to shrink, which causes
the main section to resize again - and so forth.

The primary difference here is that the hint section can overflow on top of the main content for really long lines but I think that's a fair tradeoff for now.

I saw this with a few logs where the "hint" section
at the bottom (that contains the selected and
hovered line) grows in height which causes the
main section with the log to resize, which can
change what line you're hovering on and then causes
the "hint" section to shrink, which causes
the main section to resize again - and so forth.

This change removes the "Selected Line" at the bottom
and also updates the style so the, now reduced,
hint section can overflow on top of the main content
for really long lines.
@theihor

theihor commented Dec 3, 2025

Copy link
Copy Markdown
Collaborator
Screenshot From 2025-12-03 15-17-12 This is certainly better than flickering. Thanks!

@jordalgo jordalgo merged commit 9ae49c0 into libbpf:master Dec 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants