aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-10-18 22:30:32 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-10-18 22:30:32 -0400
commit82e0af8710ceed57a2233b9652a3878b103084d8 (patch)
tree6c93e7ee515e40ef8da344e2bd8b224b49df269a /tools
parent33f62b3fc4edd46d80c4420b81dfcb267c8bdb5e (diff)
perf ui browser: Honour the xterm colors
So slang after all _has_ a 'default' color, call me color blind. Change the default to it. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> Link: http://lkml.kernel.org/n/tip-1dfxivxv0jhwldpds3v4zla2@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/ui/browser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/util/ui/browser.c b/tools/perf/util/ui/browser.c
index 976b957f87c3..06fc9ebd8d3f 100644
--- a/tools/perf/util/ui/browser.c
+++ b/tools/perf/util/ui/browser.c
@@ -439,19 +439,19 @@ static struct ui_browser__colorset {
439 .colorset = HE_COLORSET_TOP, 439 .colorset = HE_COLORSET_TOP,
440 .name = "top", 440 .name = "top",
441 .fg = "red", 441 .fg = "red",
442 .bg = "black", 442 .bg = "default",
443 }, 443 },
444 { 444 {
445 .colorset = HE_COLORSET_MEDIUM, 445 .colorset = HE_COLORSET_MEDIUM,
446 .name = "medium", 446 .name = "medium",
447 .fg = "green", 447 .fg = "green",
448 .bg = "black", 448 .bg = "default",
449 }, 449 },
450 { 450 {
451 .colorset = HE_COLORSET_NORMAL, 451 .colorset = HE_COLORSET_NORMAL,
452 .name = "normal", 452 .name = "normal",
453 .fg = "brightgreen", 453 .fg = "default",
454 .bg = "black", 454 .bg = "default",
455 }, 455 },
456 { 456 {
457 .colorset = HE_COLORSET_SELECTED, 457 .colorset = HE_COLORSET_SELECTED,
@@ -463,7 +463,7 @@ static struct ui_browser__colorset {
463 .colorset = HE_COLORSET_CODE, 463 .colorset = HE_COLORSET_CODE,
464 .name = "code", 464 .name = "code",
465 .fg = "blue", 465 .fg = "blue",
466 .bg = "black", 466 .bg = "default",
467 }, 467 },
468 { 468 {
469 .name = NULL, 469 .name = NULL,