Fix redraw in proc list when changing sort order (#1309)

In tree-view mode and with the proc list is collapsed, changing the sort order will not clear the list properly because of a wrong offset.
This commit is contained in:
Barry Van Deerlin
2025-10-25 02:38:29 -07:00
committed by GitHub
parent dd86355170
commit 2fc829b00a

View File

@@ -1968,7 +1968,7 @@ namespace Proc {
}
out += Fx::reset;
while (lc++ < height - 5) out += Mv::to(y+lc+1, x+1) + string(width - 2, ' ');
while (lc++ < height - 3) out += Mv::to(y+lc+1, x+1) + string(width - 2, ' ');
//? Draw scrollbar if needed
if (numpids > select_max) {