diff --git a/client.c b/client.c index 8456dfd8..e292df5e 100644 --- a/client.c +++ b/client.c @@ -67,12 +67,13 @@ version_and_features(void) { static char buf[256]; snprintf(buf, sizeof(buf), - "version: %s %cpgo %cime %cgraphemes %cassertions", + "version: %s %cpgo %cime %cgraphemes %cassertions %cucurl", FOOT_VERSION, feature_pgo() ? '+' : '-', feature_ime() ? '+' : '-', feature_graphemes() ? '+' : '-', - feature_assertions() ? '+' : '-'); + feature_assertions() ? '+' : '-', + feature_ext_underline() ? '+' : '-'); return buf; } diff --git a/foot-features.h b/foot-features.h index ad447767..8af919f2 100644 --- a/foot-features.h +++ b/foot-features.h @@ -37,3 +37,12 @@ static inline bool feature_graphemes(void) return false; #endif } + +static inline bool feature_ext_underline(void) +{ +#if FOOT_EXT_UNDERLINE + return true; +#else + return false; +#endif +} diff --git a/main.c b/main.c index 4fc8f439..b1a274e7 100644 --- a/main.c +++ b/main.c @@ -53,12 +53,13 @@ version_and_features(void) { static char buf[256]; snprintf(buf, sizeof(buf), - "version: %s %cpgo %cime %cgraphemes %cassertions", + "version: %s %cpgo %cime %cgraphemes %cassertions %cucurl", FOOT_VERSION, feature_pgo() ? '+' : '-', feature_ime() ? '+' : '-', feature_graphemes() ? '+' : '-', - feature_assertions() ? '+' : '-'); + feature_assertions() ? '+' : '-', + feature_ext_underline() ? '+' : '-'); return buf; }