aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-24 15:50:30 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-24 15:50:30 +0000
commita319ddf094cd015673bb80e8137cbebaeaa2c26e (patch)
tree07a7b8bd1b242f91ecac58fe6730916b9d712bbe /main.c
parentfeatures: add feature_graphemes() (diff)
foot: add +/-graphemes to version output
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 2c392fca..bbe89052 100644
--- a/main.c
+++ b/main.c
@@ -45,10 +45,11 @@ static const char *
version_and_features(void)
{
static char buf[256];
- snprintf(buf, sizeof(buf), "version: %s %cime %cpgo",
+ snprintf(buf, sizeof(buf), "version: %s %cpgo %cime %cgraphemes",
FOOT_VERSION,
+ feature_pgo() ? '+' : '-',
feature_ime() ? '+' : '-',
- feature_pgo() ? '+' : '-');
+ feature_graphemes() ? '+' : '-');
return buf;
}