aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index d846deb..b08ff16 100644
--- a/ui.h
+++ b/ui.h
@@ -4,6 +4,11 @@
#include <stdbool.h>
#include <stdarg.h>
+/* enable large file optimization for files larger than: */
+#define UI_LARGE_FILE_SIZE (1 << 25)
+/* enable large file optimization fo files containing lines longer than: */
+#define UI_LARGE_FILE_LINE_SIZE (1 << 16)
+
typedef struct Ui Ui;
typedef struct UiWin UiWin;