From 03753a8a92e8c3dd25e4f067f13503a7d748a98d Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Jan 2021 12:38:15 -0600 Subject: added one last redraw before forcing an exit --- src/hackvr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; -- cgit v1.2.3