File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 7373#define PACKAGE_NAME "Doom ASCII"
7474
7575/* Define to the full name and version of this package. */
76- #define PACKAGE_STRING "Doom ASCII 0.1.0 "
76+ #define PACKAGE_STRING "Doom ASCII 0.1.1 "
7777
7878/* Define to the one symbol short name of this package. */
7979#define PACKAGE_TARNAME "doom_ascii.tar"
9191#define STDC_HEADERS 1
9292
9393/* Version number of package */
94- #define VERSION 0.1.0
94+ #define VERSION 0.1.1
9595
9696/* Define to 1 if you want to compile the unmodified code */
9797#undef ORIGCODE
Original file line number Diff line number Diff line change @@ -132,6 +132,13 @@ void DG_Init()
132132
133133void DG_DrawFrame ()
134134{
135+ /* Clear screen if first frame */
136+ static bool first_frame = true;
137+ if (first_frame ) {
138+ first_frame = false;
139+ fputs ("\033[1;1H\033[2J" , stdout );
140+ }
141+
135142 /* fill output buffer */
136143 uint32_t color = 0xFFFFFF00 ;
137144 unsigned row , col ;
You can’t perform that action at this time.
0 commit comments