From 2754112a7a6dbdf90ca76273aa95bbd0882dff28 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 18 May 2021 00:47:38 +0200 Subject: [PATCH] Utilities: Make the STATE column for top slightly larger The STATE column was slightly too small to fit the states for NetworkTask and FinalizerTask. --- Userland/Utilities/top.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Utilities/top.cpp b/Userland/Utilities/top.cpp index e7de663a35..d9e2740941 100644 --- a/Userland/Utilities/top.cpp +++ b/Userland/Utilities/top.cpp @@ -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,