nausea

curses audio visualizer
git clone git://git.2f30.org/nausea
Log | Files | Refs | README | LICENSE

commit 288e005a4b3e572fba228310ca7ad01af5f550c9
parent cf6de049b86b67fca2b9def86b92efa9ba1292a8
Author: lostd <lostd@2f30.org>
Date:   Thu, 21 Nov 2013 15:56:26 +0200

Color peaks appropriately

Diffstat:
Mspectrum.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/spectrum.c b/spectrum.c @@ -255,7 +255,9 @@ draw(struct frame *fr) /* output peaks */ if (peaks && pk->pos != PK_HIDDEN) { move(pk->pos, i); + setcolor(1, pk->pos); printw("%c", peak); + setcolor(0, pk->pos); } } attroff(A_BOLD);