Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-05-18 14:11:19 +0400
committerDenys Vlasenko <vda.linux@googlemail.com>2011-05-18 14:11:19 +0400
commit24b71fd8948fda65bbcf3df90f3eb143202be4e3 (patch)
tree0f449b7c906a1d3d31a4a1f7c40557f0e869043c /procps
parent351fec332a074cc7599e34c70e00f53d8ef74df9 (diff)
top: display sort indicator in memory display
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 0f9cc62fb..011bbf183 100644
--- 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--;