From 8029cd7933b4904c4bb0f13012515e9c9c2ab435 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Sat, 31 Dec 2022 16:35:12 -0500 Subject: Added ligatures patch --- st.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'st.h') diff --git a/st.h b/st.h index 808f5f7..ae41368 100644 --- a/st.h +++ b/st.h @@ -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) -- cgit v1.2.3