1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

Utilities: Make the STATE column for top slightly larger

The STATE column was slightly too small to fit the states for
NetworkTask and FinalizerTask.
This commit is contained in:
Gunnar Beutner 2021-05-18 00:47:38 +02:00 committed by Andreas Kling
parent 31d24d8292
commit 2754112a7a

View file

@ -160,7 +160,7 @@ int main(int, char**)
auto sum_diff = current.sum_times_scheduled - prev.sum_times_scheduled;
printf("\033[3J\033[H\033[2J");
printf("\033[47;30m%6s %3s %3s %-9s %-10s %6s %6s %4s %s\033[K\033[0m\n",
printf("\033[47;30m%6s %3s %3s %-9s %-13s %6s %6s %4s %s\033[K\033[0m\n",
"PID",
"TID",
"PRI",
@ -192,7 +192,7 @@ int main(int, char**)
int row = 0;
for (auto* thread : threads) {
int nprinted = printf("%6d %3d %2u %-9s %-10s %6zu %6zu %2u.%1u ",
int nprinted = printf("%6d %3d %2u %-9s %-13s %6zu %6zu %2u.%1u ",
thread->pid,
thread->tid,
thread->priority,