diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-24 12:54:02 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-24 12:54:02 -0500 |
commit | 993286be407ebffb50e15cb53e28c11cfbf47dcb (patch) | |
tree | a81adbf9f3b1037f743d188ed00a7de8b3284537 /main.c | |
parent | f64570b5acfb80afec269b59c057cad314b29c59 (diff) |
more undo. almost working.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |