mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 12:44:34 +03:00
NetBSD: color process state P as running
On NetBSD state 'R' means runnable not running. Improve the color identifier name accordingly.
This commit is contained in:

committed by
BenBE

parent
c0c2bb98a2
commit
0580dbb202
@ -864,8 +864,12 @@ void Process_writeField(const Process* this, RichString* str, ProcessField field
|
||||
case STATE:
|
||||
xSnprintf(buffer, n, "%c ", this->state);
|
||||
switch (this->state) {
|
||||
#ifdef HTOP_NETBSD
|
||||
case 'P':
|
||||
#else
|
||||
case 'R':
|
||||
attr = CRT_colors[PROCESS_R_STATE];
|
||||
#endif
|
||||
attr = CRT_colors[PROCESS_RUN_STATE];
|
||||
break;
|
||||
case 'D':
|
||||
attr = CRT_colors[PROCESS_D_STATE];
|
||||
|
Reference in New Issue
Block a user