Add color_fwrite_lines(), a function coloring each line individually
commit2b9b9d2f39152b0d1f1d16710571df0239ae1d46
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 11 Jan 2009 18:23:32 +0000 (11 19:23 +0100)
committerThomas Rast <trast@student.ethz.ch>
Sat, 17 Jan 2009 16:13:33 +0000 (17 17:13 +0100)
tree152e625ad48c4c90e648951f970bbf0ba21982d3
parent7bbd8d6c139f163ee26b8416cd227408888f31c3
Add color_fwrite_lines(), a function coloring each line individually

We have to set the color before every line and reset it before every
newline.  Add a function color_fwrite_lines() which does that for us.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
color.c
color.h