From d78df2a7af97e380e58e5a45daf56716b4abc8f1 Mon Sep 17 00:00:00 2001 From: Jorge Barreto Date: Sun, 13 Sep 2020 16:52:43 -0400 Subject: [PATCH] fix procbox height --- bpytop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpytop.py b/bpytop.py index bda82ed..e6ec4f0 100755 --- a/bpytop.py +++ b/bpytop.py @@ -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