Use correct command field as default field

The default htop command process field has the enum identifier `COMM`
but the name `Command` (`COMM` is the field name for /proc/<PID>/comm).
This commit is contained in:
Christian Göttsche
2021-12-16 15:43:35 +01:00
committed by cgzones
parent 6e9a5e9e49
commit 5bc988ad6d
9 changed files with 11 additions and 11 deletions

View File

@ -35,7 +35,7 @@ in the source distribution for its full text.
const ScreenDefaults Platform_defaultScreens[] = {
{
.name = "Main",
.columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME COMM",
.columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command",
.sortKey = "PERCENT_CPU",
},
};