diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2021-01-24 12:38:15 -0600 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2021-01-24 12:38:15 -0600 |
commit | 03753a8a92e8c3dd25e4f067f13503a7d748a98d (patch) | |
tree | 0b25f3be48e3d38e76e9cdec37f808ed94d564ed | |
parent | 511382af342d57d987aa29bbf0712712291a8399 (diff) | |
download | hackvr-03753a8a92e8c3dd25e4f067f13503a7d748a98d.tar.gz hackvr-03753a8a92e8c3dd25e4f067f13503a7d748a98d.zip |
added one last redraw before forcing an exit
-rw-r--r-- | src/hackvr.c | 4 |
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; |