Skip to content

Implement a few gui tweaks to the details panel so that it looks better on small width terminals - #48

Merged
laixintao merged 5 commits into
laixintao:masterfrom
Paliak:gui-tweaks
May 18, 2026
Merged

Implement a few gui tweaks to the details panel so that it looks better on small width terminals#48
laixintao merged 5 commits into
laixintao:masterfrom
Paliak:gui-tweaks

Conversation

@Paliak

@Paliak Paliak commented May 17, 2026

Copy link
Copy Markdown
Contributor
  • Sets MAX_HISTORY to 64 so that it is a power of 2
  • Tweaks graph width calculation to prevent it from wrapping (56x30 terminal size for the below screens):
    Before:
before

After:

obraz
  • Removes redundant information from the details panel to clean it up a bit
  • Hides the Error line in the left panel unless there actually is an error
  • Makes the whole graph render even when there aren't enough samples to cover the whole width

Paliak added 5 commits May 17, 2026 19:33
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
@laixintao

Copy link
Copy Markdown
Owner

awesome fix, thanks

@laixintao
laixintao merged commit 1b45294 into laixintao:master May 18, 2026
0 of 3 checks passed
@Paliak
Paliak deleted the gui-tweaks branch May 18, 2026 07:51
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