summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-11-02 21:00:33 -0400
committerpommicket <pommicket@gmail.com>2022-11-02 21:00:33 -0400
commit237412362b6c9476ff98c7eaf63d63ebea136be2 (patch)
tree716ab68e608a72e45e4a08789a78c2a8ea3c016e /ted.h
parent760526ec4071f9392e5bfca77b19cb20f98c588e (diff)
multiline config value strings, fix search_cwd (debug feature)
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 9f49fdd..8681ab6 100644
--- a/ted.h
+++ b/ted.h
@@ -353,7 +353,8 @@ typedef struct Ted {
TextBuffer argument_buffer; // used for command selector
double error_time; // time error box was opened (in seconds -- see time_get_seconds)
double cursor_error_time; // time which the cursor error animation started (cursor turns red, e.g. when there's no autocomplete suggestion)
- bool search_cwd; // should the working directory be searched for files? set to true if the executable isn't "installed"
+ bool search_start_cwd; // should start_cwd be searched for files? set to true if the executable isn't "installed"
+ char start_cwd[TED_PATH_MAX];
bool quit; // if set to true, the window will close next frame. NOTE: this doesn't check for unsaved changes!!
bool find; // is the find or find+replace menu open?
bool replace; // is the find+replace menu open?