summaryrefslogtreecommitdiff
path: root/src/platform.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-06 21:22:48 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-06 21:22:48 +0100
commitc3a430aa1828e2c161023076cc260eeda740ae7f (patch)
treedb0c87458d0bd52055653957ba2632c43d0164dd /src/platform.h
parent81b18c444e209ef75b612c243c1fa7090411bfa0 (diff)
show red border on input when path is invalid
Diffstat (limited to 'src/platform.h')
-rw-r--r--src/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform.h b/src/platform.h
index e9d7ba5..7fdc15a 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -31,6 +31,7 @@ typedef enum t_ts_file_open_error
extern bool program_running;
+bool ts_platform_dir_exists(utf8_int8_t* dir);
ts_file_content ts_platform_read_file(char *path, const char *mode);
void ts_platform_list_files_block(ts_search_result* result, wchar_t* start_dir = nullptr);
void ts_platform_list_files(ts_search_result* result);