From 4ccbeb99aec2b94a25458691ab48f7704ee84221 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 11 Jun 2014 21:30:23 +0100 Subject: [PATCH] Added coloured output to c example --- test-c-plugin/test-c-plugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test-c-plugin/test-c-plugin.c b/test-c-plugin/test-c-plugin.c index de7e45a..007791d 100644 --- a/test-c-plugin/test-c-plugin.c +++ b/test-c-plugin/test-c-plugin.c @@ -51,6 +51,10 @@ handle_reverse(PROF_WIN_TAG win, char *line) } buf[pos] = '\0'; prof_win_show(win, buf); + prof_win_show_red(win, "Red"); + prof_win_show_yellow(win, "Yellow"); + prof_win_show_green(win, "Green"); + prof_win_show_cyan(win, "Cyan"); } void