[git commit] top: better indicator of selected field in mem view

Denys Vlasenko vda.linux at googlemail.com
Fri May 13 23:32:09 UTC 2011


commit: http://git.busybox.net/busybox/commit/?id=eafc558f94f75dc6132a374a15050e9d0c5c48f1
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 procps/top.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/procps/top.c b/procps/top.c
index c46797e..0f9cc62 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[5 + sort_field * 6] = '*';
+	line_buf[11 + sort_field * 6] = '<';
 	printf(OPT_BATCH_MODE ? "%.*s" : "\e[7m%.*s\e[0m", scr_width, line_buf);
 	lines_rem--;
 
-- 
1.7.3.4



More information about the busybox-cvs mailing list