diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-04 10:40:32 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-03-04 10:40:32 -0500 |
commit | 1cbaa8c30f63b854696b9a0761376eda5ea87ecd (patch) | |
tree | c249b7ff2b5311f4d4d6b84ff403687df36cb63d /ted.h | |
parent | c8fe98bf37f5364543b365d6d423a785c3c66452 (diff) |
string arguments
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -218,6 +218,8 @@ typedef struct Node { #define TED_MAX_NODES 256 // max tabs per node #define TED_MAX_TABS 100 +// max strings in config file +#define TED_MAX_STRINGS 1000 typedef struct { BufferPos start; @@ -327,6 +329,9 @@ typedef struct Ted { // NOTE: the buffer at index 0 is reserved as a "null buffer" and should not be used. bool buffers_used[TED_MAX_BUFFERS]; TextBuffer buffers[TED_MAX_BUFFERS]; + // config file strings + u32 nstrings; + char *strings[TED_MAX_STRINGS]; char window_title[256]; char error[512]; char error_shown[512]; // error display in box on screen |