Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
ad1a0ad0
Commit
ad1a0ad0
authored
9 years ago
by
Michael McConville
Browse files
Options
Download
Email Patches
Plain Diff
Replace some remaining tabs
parent
571cbc0a
master
darwin-cpu-average
fixedgray
linear-graph-scan
lua
next
perfcounters
pkgconfig-on-linux
solaris
sreclaimable
travis-ci
3.0.0beta5
3.0.0beta4
3.0.0beta3
3.0.0beta2
3.0.0beta1
2.2.0
2.1.0
2.0.2
2.0.1
2.0.0
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CRT.c
+2
-2
CRT.c
ListItem.c
+2
-2
ListItem.c
htop.c
+2
-2
htop.c
openbsd/OpenBSDProcessList.c
+1
-1
openbsd/OpenBSDProcessList.c
with
7 additions
and
7 deletions
+7
-7
CRT.c
View file @
ad1a0ad0
...
...
@@ -609,9 +609,9 @@ void CRT_init(int delay, int colorScheme) {
CRT_treeStr
=
#ifdef HAVE_LIBNCURSESW
CRT_utf8
?
CRT_treeStrUtf8
:
CRT_utf8
?
CRT_treeStrUtf8
:
#endif
CRT_treeStrAscii
;
CRT_treeStrAscii
;
#if NCURSES_MOUSE_VERSION > 1
mousemask
(
BUTTON1_RELEASED
|
BUTTON4_PRESSED
|
BUTTON5_PRESSED
,
NULL
);
...
...
This diff is collapsed.
Click to expand it.
ListItem.c
View file @
ad1a0ad0
...
...
@@ -44,9 +44,9 @@ static void ListItem_display(Object* cast, RichString* out) {
if
(
this
->
moving
)
{
RichString_write
(
out
,
CRT_colors
[
DEFAULT_COLOR
],
#ifdef HAVE_LIBNCURSESW
CRT_utf8
?
"↕ "
:
CRT_utf8
?
"↕ "
:
#endif
"+ "
);
"+ "
);
}
else
{
RichString_prune
(
out
);
}
...
...
This diff is collapsed.
Click to expand it.
htop.c
View file @
ad1a0ad0
...
...
@@ -109,7 +109,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
flags
.
sortKey
=
ColumnsPanel_fieldNameToIndex
(
optarg
);
if
(
flags
.
sortKey
==
-
1
)
{
errx
(
1
,
stderr
,
"Error: invalid column
\"
%s
\"
.
\n
"
,
optarg
);
}
}
break
;
case
'd'
:
if
(
sscanf
(
optarg
,
"%16d"
,
&
(
flags
.
delay
))
==
1
)
{
...
...
@@ -122,7 +122,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
case
'u'
:
if
(
!
Action_setUserOnly
(
optarg
,
&
(
flags
.
userId
)))
{
errx
(
1
,
stderr
,
"Error: invalid user
\"
%s
\"
.
\n
"
,
optarg
);
}
}
break
;
case
'C'
:
flags
.
useColors
=
false
;
...
...
This diff is collapsed.
Click to expand it.
openbsd/OpenBSDProcessList.c
View file @
ad1a0ad0
...
...
@@ -244,7 +244,7 @@ void ProcessList_goThroughEntries(ProcessList* this) {
this
->
totalTasks
++
;
if
(
proc
->
state
==
'R'
)
{
this
->
runningTasks
++
;
}
}
proc
->
updated
=
true
;
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help