diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-02-15 10:37:28 +0100 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-02-15 10:37:28 +0100 |
commit | 211f3d3fc717a9368300d55de119f7ed51611c26 (patch) | |
tree | 443e8bf0bf39e03bb8c9fdfc16bcb5af07d61db2 /st.h | |
parent | a200487d9c1608e2f7e2734ed7441f8f5095a039 (diff) |
Patch: ligatures-scrollback-0.9
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ #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) -#define ATTRCMP(a, b) ((a).mode != (b).mode || (a).fg != (b).fg || \ +#define ATTRCMP(a, b) (((a).mode & (~ATTR_WRAP)) != ((b).mode & (~ATTR_WRAP)) || \ + (a).fg != (b).fg || \ (a).bg != (b).bg) #define TIMEDIFF(t1, t2) ((t1.tv_sec-t2.tv_sec)*1000 + \ (t1.tv_nsec-t2.tv_nsec)/1E6) |