summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index ea2c16f..2b78b17 100644
--- a/main.c
+++ b/main.c
@@ -215,6 +215,8 @@ int main(void) {
//buffer_print_debug(&text_buffer);
buffer_check_valid(&text_buffer);
+ printf("\033[H\033[2J"); fflush(stdout);
+ buffer_print_undo_history(&text_buffer);
SDL_GL_SwapWindow(window);
}