aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
Diffstat (limited to 'fm.h')
-rw-r--r--fm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fm.h b/fm.h
index 4bff6a4..6cb7402 100644
--- a/fm.h
+++ b/fm.h
@@ -12,5 +12,15 @@ typedef struct {
void fm_getdir(fm_info* f);
fm_info* fm_init(terminal* t);
+typedef struct {
+ file_item *items;
+ int count;
+ int cap;
+ int selected_idx;
+ window *fm_l, *fm_r;
+ char **cur_contents;
+ char **next_dir_contents;
+ char cwd[PATH_MAX];
+} fm_info;
#endif /* SF_FM_H */