← Commit list

24b71fd89

Denys Vlasenko
Denys Vlasenko
2011-05-18
FAILED Duration: 256s

Subject

top: display sort indicator in memory display

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

procps/top.c+1 -1
@@ -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--;