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

[BUG] Nice level underflow #461

Closed
slonkazoid opened this issue Nov 6, 2022 · 2 comments
Closed

[BUG] Nice level underflow #461

slonkazoid opened this issue Nov 6, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@slonkazoid
Copy link

Describe the bug

nice level number underflows

To Reproduce

start a process with nice -n -4 and see the nice level from btop

Expected behavior

nice should display -4

Screenshots

Screenshot_20221106_122024

Info (please complete the following information):

  • btop++ version: 1.2.12
  • Binary: Arch official repos
  • Architecture: x86_64
  • Platform: Linux
  • (Linux) Kernel: 6.0.7-zen1-1-zen
  • Terminal used: Alacritty
  • Font used: Hack Regular 10

Additional context

contents of ~/.config/btop/btop.log

2022/11/06 (12:22:24) | ===> btop++ v.1.2.12
2022/11/06 (12:22:24) | DEBUG: Starting in DEBUG mode!
2022/11/06 (12:22:24) | INFO: Logger set to DEBUG
2022/11/06 (12:22:24) | DEBUG: Setting LC_ALL=en_US.UTF-8
2022/11/06 (12:22:24) | INFO: Running on /dev/pts/2
2022/11/06 (12:22:28) | INFO: Quitting! Runtime: 00:00:04
@slonkazoid slonkazoid added the bug Something isn't working label Nov 6, 2022
@correabuscar

This comment was marked as resolved.

@aristocratos
Copy link
Owner

@uAliFurkanY @correabuscar
Good catch, fixed in latest commits.

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

No branches or pull requests

3 participants