mirror of https://github.com/aristocratos/bpytop
fix procbox height
parent
4d35a36af1
commit
d78df2a7af
|
@ -2462,7 +2462,7 @@ class ProcBox(Box):
|
|||
height_p = cls.height_p
|
||||
|
||||
cls.width = round(Term.width * width_p / 100)
|
||||
cls.height = round(Term.height * height_p / 100)
|
||||
cls.height = round(Term.height * height_p / 100) + 1
|
||||
if cls.height + Box._b_cpu_h > Term.height: cls.height = Term.height - Box._b_cpu_h
|
||||
cls.x = Term.width - cls.width + 1
|
||||
cls.y = Box._b_cpu_h + 1
|
||||
|
|
Loading…
Reference in New Issue