summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-12-24 12:54:02 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-12-24 12:54:02 -0500
commit993286be407ebffb50e15cb53e28c11cfbf47dcb (patch)
treea81adbf9f3b1037f743d188ed00a7de8b3284537 /main.c
parentf64570b5acfb80afec269b59c057cad314b29c59 (diff)
more undo. almost working.
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);
}