applied vimbrowse patch
[st.git] / st.h
diff --git a/st.h b/st.h
index 4da3051..b79ac2f 100644 (file)
--- a/st.h
+++ b/st.h
@@ -8,6 +8,7 @@
 #define MAX(a, b)              ((a) < (b) ? (b) : (a))
 #define LEN(a)                 (sizeof(a) / sizeof(a)[0])
 #define BETWEEN(x, a, b)       ((a) <= (x) && (x) <= (b))
+#define OUT(x, a, b)           ((a) <= (x) || (x) <= (b))
 #define DIVCEIL(n, d)          (((n) + ((d) - 1)) / (d))
 #define DEFAULT(a, b)          (a) = (a) ? (a) : (b)
 #define LIMIT(x, a, b)         (x) = (x) < (a) ? (a) : (x) > (b) ? (b) : (x)
@@ -74,6 +75,7 @@ typedef union {
        uint ui;
        float f;
        const void *v;
+       const char *s;
 } Arg;
 
 void die(const char *, ...);
@@ -112,10 +114,12 @@ char *xstrdup(char *);
 
 /* config.h globals */
 extern char *utmp;
+extern char *scroll;
 extern char *stty_args;
 extern char *vtiden;
 extern wchar_t *worddelimiters;
 extern int allowaltscreen;
+extern int allowwindowops;
 extern char *termname;
 extern unsigned int tabspaces;
 extern unsigned int defaultfg;