From 24b71fd8948fda65bbcf3df90f3eb143202be4e3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 18 May 2011 12:11:19 +0200 Subject: top: display sort indicator in memory display Signed-off-by: Denys Vlasenko --- procps/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'procps') diff --git a/procps/top.c b/procps/top.c index 0f9cc62..011bbf1 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--; -- cgit v1.1