summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hackvr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hackvr.c b/src/hackvr.c
index 4668e90..4eaec17 100644
--- a/src/hackvr.c
+++ b/src/hackvr.c
@@ -138,6 +138,10 @@ void hackvr_handler_idc(struct shit *me,char *line) {
switch(hackvr_handler(line)) {
case -1://quit
fprintf(stderr,"# exiting due to EOF\n");
+ //we need to flush another draw before exiting probably for _svg to get one last frame in.
+ #ifdef GRAPHICAL
+ redraw();
+ #endif
exit(0);
case 0://don't redraw
break;