Skip to content

Commit 2636faf

Browse files
committed
Release v0.1.1
1 parent 042fe18 commit 2636faf

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
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"
@@ -91,7 +91,7 @@
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

src/doomgeneric_ascii.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ void DG_Init()
132132

133133
void 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;

0 commit comments

Comments
 (0)