summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-29 21:53:37 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-29 21:53:37 -0500
commit3cc173dd38e85c751bb1a9f9288ebe974e567ba4 (patch)
treefa822005135b515307c223e3154c9b03f61203d7 /ted.h
parent90ffcaad047caa55e65a6bf858a7b976e062007a (diff)
ctrl+pageup/down to switch between tabs
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ted.h b/ted.h
index 30abb4b..d589365 100644
--- a/ted.h
+++ b/ted.h
@@ -1,4 +1,5 @@
#define TED_PATH_MAX 256
+#define TED_UNTITLED "Untitled" // what to call untitled buffers
#define TEXT_SIZE_MIN 6
#define TEXT_SIZE_MAX 70
@@ -70,7 +71,7 @@ typedef struct {
u32 nlines;
u32 lines_capacity;
Line *lines;
- char error[128];
+ char error[256];
BufferEdit *undo_history; // dynamic array of undo history
BufferEdit *redo_history; // dynamic array of redo history
} TextBuffer;