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

Battery display does not follow hide_table_gap configuration #385

Closed
cooperuser opened this issue Jan 6, 2021 · 1 comment · Fixed by #386
Closed

Battery display does not follow hide_table_gap configuration #385

cooperuser opened this issue Jan 6, 2021 · 1 comment · Fixed by #386
Labels
bug Something isn't working the way that is expected.

Comments

@cooperuser
Copy link

Describe the bug

When setting the hide_table_gap setting to true, all tables correctly hides their gaps except for the battery table.

image

To reproduce

  1. Use a clear config file by way of --config=/dev/null
  2. Enable flags --battery and --hide_table_gap
  3. Observe both those flags working on their own, but not together.

See top right of screenshot.

bottom version

Running bottom 0.5.6 on latest commit at the time of writing 429978d

bottom config file (if used)

[flags]
battery = true
default_time_value = 30000
disable_click = true
group_processes = true
hide_table_gap = true
left_legend = true
rate = 500
regex = true
show_table_scroll_position = true

Installation method

Cloned with git and then built manually.

Platform and environment information

Operating system, OS version, and architecture

Please specify your operating system, the version, and architecture, so I can try to replicate your environment as best as possible. Note that the officially supported platforms are:

macOS (x86_64)

If your platform is not listed, please be aware I do not officially support it and may be unable to fix this issue.

Terminal (i.e. urxvt, kitty, etc.)

Alacritty

Shell (i.e. zsh, bash, etc.)

fish

Miscellaneous system info

Not totally necessary, but if possible, include details like:

RAM size: 16BG

SWAP size: N/A

CPU and number of cores: 2.5 GHz Quad-Core Intel Core i7

Rust version

rustc 1.49.0 (e1884a8e3 2020-12-29)

Additional context

❤️

@cooperuser cooperuser added the bug Something isn't working the way that is expected. label Jan 6, 2021
@ClementTsang
Copy link
Owner

Thanks for catching this, should be easy to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working the way that is expected.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants