From 644e00591c83e83a699083b4ad94133a89a8e1ee Mon Sep 17 00:00:00 2001 From: GrenderG Date: Mon, 21 Oct 2019 20:05:22 +0200 Subject: [PATCH] Version 0.1.0 ready. --- Makefile | 6 +++--- tte.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 9e33ccf..af94e2e 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ tte: tte.c - $(CC) tte.c -o tte -Wall -Wextra -pedantic -std=c99 -g - -tte_release: tte.c $(CC) tte.c -o tte -std=c99 +debug: tte.c + $(CC) tte.c -o tte -Wall -Wextra -pedantic -std=c99 -g + install: tte_release sudo cp tte /usr/local/bin/ sudo chmod +x /usr/local/bin/ diff --git a/tte.c b/tte.c index 123b2ca..e9d7197 100644 --- a/tte.c +++ b/tte.c @@ -51,7 +51,7 @@ // Empty buffer #define ABUF_INIT {NULL, 0} // Version code -#define TTE_VERSION "0.0.8" +#define TTE_VERSION "0.1.0" // Length of a tab stop #define TTE_TAB_STOP 4 // Times to press Ctrl-Q before exiting @@ -65,7 +65,7 @@ // Max Undo/Redo Operations // Set to -1 for unlimited Undo // Set to 0 to disable Undo -#define ACTIONS_LIST_MAX_SIZE 50 +#define ACTIONS_LIST_MAX_SIZE 80 typedef struct ActionList ActionList; @@ -1282,7 +1282,7 @@ void editorSearch() { } } -/*** Undo Redo section ***/ +/*** Action section ***/ typedef struct Action Action; struct Action {