sandy

text editor
git clone git://git.suckless.org/sandy
Log | Files | Refs | README | LICENSE

commit b46cf194802d6e9ba831764178631daaeeb8dc72
parent affc7210813614107ac377a9097c4b77ae15d2cf
Author: Rafael Garcia <rafael.garcia.gallego@gmail.com>
Date:   Tue, 31 May 2011 01:19:13 +0200

Make the drawings for space and tab optional
Diffstat:
config.def.h | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -4,8 +4,14 @@ static const char fifobase[] = "/tmp/sandyfifo."; /* TAB and Space character aspect on screen */ static int tabstop = 8; /* Not const, as it may be changed via param */ +#if SHOW_SPECIAL static const char tabstr[3] = { (char)0xC2, (char)0xBB, 0x00 }; /* Double right arrow */ static const char spcstr[3] = { (char)0xC2, (char)0xB7, 0x00 }; /* Middle dot */ +/* TODO: show newline character too (as $) */ +#else +static const char tabstr[2] = { ' ', 0 }; +static const char spcstr[2] = { ' ', 0 }; +#endif /* Paths */ //static const char systempath[] = "/etc/sandy";