libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 6619410ab281a344310d6d0f79b731d270cf604d
parent 2d39fa5bc4db7e9fbc3265ca688606c6b911b921
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 15 Nov 2018 11:24:49 +0100

Add some macros to define CR, LF, TAB, and SUB characters

Diffstat:
Msrc/loaders/ansi.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c @@ -32,6 +32,11 @@ #define ANSI_SEQUENCE_MAX_LENGTH 14 +#define CR '\r' +#define LF '\n' +#define TAB '\t' +#define SUB 26 + /* Character structure */ struct ansiChar { int32_t column;