xterm256 output
highlight eats leading spaces with truecolor or xterm256 output type. this happens for lines with more than one space at the beginning of a line
the simple fix
--- highlight-3.45/src/core/xterm256generator.cpp.orig 2018-10-07 11:06:55.751341724 +0300
+++ highlight-3.45/src/core/xterm256generator.cpp 2018-10-07 11:07:18.725343936 +0300
@@ -44,7 +44,7 @@
{
newLineTag = "\n";
spacer = " ";
- maskWs=true; // needed if canvasPadding > 0; requires tab replacement
+ maskWs=false; // needed if canvasPadding > 0; requires tab replacement
}
Xterm256Generator::~Xterm256Generator() {}