From a38f48481edeb696b2973c8a1bb2107658108a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 4 Dec 2021 18:12:36 +0100 Subject: [PATCH] Process: highlight UNINTERRUPTIBLE_WAIT state (D) Commit d8dfbbd3 ("Tidy up process state handling") did change the highlighting of the UNINTERRUPTIBLE_WAIT state (D) from red to gray. As this state might means the process probably still has work to do and can hint at bottlenecks, revert this particular change. Fixes: d8dfbbd3 ("Tidy up process state handling") --- Process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Process.c b/Process.c index 6be36b72..cef5af33 100644 --- a/Process.c +++ b/Process.c @@ -916,13 +916,13 @@ void Process_writeField(const Process* this, RichString* str, ProcessField field case BLOCKED: case DEFUNCT: case STOPPED: + case UNINTERRUPTIBLE_WAIT: case ZOMBIE: attr = CRT_colors[PROCESS_D_STATE]; break; case QUEUED: case WAITING: - case UNINTERRUPTIBLE_WAIT: case IDLE: case SLEEPING: attr = CRT_colors[PROCESS_SHADOW];