changeset 1830:daae37418235

Fixes to colormap output, especially ANSI output mode.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 30 Oct 2017 19:53:21 +0200
parents 68d9ad08c15c
children 07710d932d56
files colormap.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/colormap.c	Mon Oct 30 16:53:59 2017 +0200
+++ b/colormap.c	Mon Oct 30 19:53:21 2017 +0200
@@ -439,7 +439,12 @@
             if (fmt->putTagMarker != NULL)
                 fmt->putTagMarker(outFile, tmpStr, currColor, mch);
             else
+            {
+                if (fmt->putTagStart)
+                    fmt->putTagStart(outFile, currColor);
+
                 fprintf(outFile, "%c", mch);
+            }
 
             currColor = prevColor = -2;
         }