From 98a5fcaac2ee51ff3966cd1956c8bcbca7267033 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Fri, 24 Oct 2014 23:01:22 +0200
Subject: Fix the ANSI SGR export
---
autistdraw.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/autistdraw.c b/autistdraw.c
index 4f1b6e4..191570a 100644
--- a/autistdraw.c
+++ b/autistdraw.c
@@ -382,6 +382,9 @@ export_ansi (app_context_t *app)
color = new_color;
fputc (' ', fp);
}
+
+ // We need to reset the attributes
+ fputs (color_to_ansi (0), fp);
fputc ('\n', fp);
}
--
cgit v1.2.3-70-g09d2