aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ansi.c b/src/ansi.c
index 0fa9a96..0194228 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.24 2008/02/20 19:36:06 james
+ * @@
+ *
* Revision 1.23 2008/02/20 19:25:09 james
* *** empty log message ***
*
@@ -852,6 +855,11 @@ ansi_update (ANSI * a, Context * c)
static void ansi_free(ANSI *a)
{
+ a->terminal_reset(a);
+ if (a->terminal)
+ a->terminal->close(a->terminal);
+
+ free(a);
}