projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
351fec3
)
top: display sort indicator in memory display
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 18 May 2011 10:11:19 +0000
(12:11 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 18 May 2011 10:11:19 +0000
(12:11 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/top.c
patch
|
blob
|
history
diff --git
a/procps/top.c
b/procps/top.c
index 0f9cc62fb84eb5d8a61655e1e75c8c9efd517adc..011bbf183a2ee4658df5a839acf30fe05fe7b0fd 100644
(file)
--- a/
procps/top.c
+++ b/
procps/top.c
@@
-797,7
+797,7
@@
static NOINLINE void display_topmem_process_list(int lines_rem, int scr_width)
display_topmem_header(scr_width, &lines_rem);
strcpy(line_buf, HDR_STR " COMMAND");
- line_buf[11 + sort_field * 6] =
'<'
;
+ line_buf[11 + sort_field * 6] =
"^_"[inverted]
;
printf(OPT_BATCH_MODE ? "%.*s" : "\e[7m%.*s\e[0m", scr_width, line_buf);
lines_rem--;