diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-14 01:32:09 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-14 01:32:09 +0200 |
commit | eafc558f94f75dc6132a374a15050e9d0c5c48f1 (patch) | |
tree | b5e21d12e7cadc55075931838814e5107d2f886e | |
parent | 60a9414cad23b6e8cc6b13e37675826ed05f7709 (diff) | |
download | busybox-w32-eafc558f94f75dc6132a374a15050e9d0c5c48f1.tar.gz busybox-w32-eafc558f94f75dc6132a374a15050e9d0c5c48f1.tar.bz2 busybox-w32-eafc558f94f75dc6132a374a15050e9d0c5c48f1.zip |
top: better indicator of selected field in mem view
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | procps/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c index c46797e78..0f9cc62fb 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) | |||
797 | 797 | ||
798 | display_topmem_header(scr_width, &lines_rem); | 798 | display_topmem_header(scr_width, &lines_rem); |
799 | strcpy(line_buf, HDR_STR " COMMAND"); | 799 | strcpy(line_buf, HDR_STR " COMMAND"); |
800 | line_buf[5 + sort_field * 6] = '*'; | 800 | line_buf[11 + sort_field * 6] = '<'; |
801 | printf(OPT_BATCH_MODE ? "%.*s" : "\e[7m%.*s\e[0m", scr_width, line_buf); | 801 | printf(OPT_BATCH_MODE ? "%.*s" : "\e[7m%.*s\e[0m", scr_width, line_buf); |
802 | lines_rem--; | 802 | lines_rem--; |
803 | 803 | ||