diff options
| author | Marcel Screm <marcel@marcelscrem.com> | 2026-01-05 16:02:48 +0100 |
|---|---|---|
| committer | Marcel Screm <marcel@marcelscrem.com> | 2026-01-05 16:02:48 +0100 |
| commit | 59d71f7a84b6f87002fab21a74f1f8f360eb136a (patch) | |
| tree | d19d2c951ba4dc09a1543fc4dc2caaa7fc007695 /st.h | |
| parent | 8cac90eb30e53bebf8b884a60b2cc75ec7c83f5f (diff) | |
added ligature patch
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) |
