From abd24d108bcaffb48eaf2ca7002959d951f1ee69 Mon Sep 17 00:00:00 2001
From: Joe Konno
Date: Wed, 31 Jul 2019 10:12:30 -0700
Subject: [PATCH] Settings.c: show thread names by default
This is to support analysis of multi-threaded applications "out of the
box", like web browsers. Applications can name their threads, so this
change should prove useful.
The htoprc file is written to whenever the user changes settings in
htop. htoprc settings take precedence over this change.
Signed-off-by: Joe Konno
---
Settings.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Settings.c b/Settings.c
index db2fa0668..72c0e1e82 100644
--- a/Settings.c
+++ b/Settings.c
@@ -332,7 +332,7 @@ Settings* Settings_new(int cpuCount) {
this->direction = 1;
this->hideThreads = false;
this->shadowOtherUsers = false;
- this->showThreadNames = false;
+ this->showThreadNames = true;
this->hideKernelThreads = false;
this->hideUserlandThreads = false;
this->treeView = false;