handling of empty dirs & refactoring

This commit is contained in:
nova
2025-07-08 20:51:25 +02:00
parent 7fcd148dfe
commit b6f9633677
6 changed files with 98 additions and 41 deletions

View File

@@ -24,6 +24,7 @@
#define FILE_STATUS_HOVER 1
#define FILE_STATUS_SELECTED 2
#define FILE_STATUS_IS_REGULAR_FILE 4
#define FILE_STATUS_DIR_EMPTY 64 /* if a directory is empty */
#define FILE_STATUS_FILE_OPEN 128 /* only used for file previews */
#define COLOR_UNKNOWN 0