main/client: add a version feature flag for cursor-shape

This commit is contained in:
Daniel Eklöf 2023-06-29 16:12:54 +02:00
parent 6388954e8f
commit a361d7917b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 13 additions and 2 deletions

View file

@ -67,12 +67,13 @@ version_and_features(void)
{
static char buf[256];
snprintf(buf, sizeof(buf),
"version: %s %cpgo %cime %cgraphemes %cfractional-scaling %cassertions",
"version: %s %cpgo %cime %cgraphemes %cfractional-scaling %ccursor-shape %cassertions",
FOOT_VERSION,
feature_pgo() ? '+' : '-',
feature_ime() ? '+' : '-',
feature_graphemes() ? '+' : '-',
feature_fractional_scaling() ? '+' : ':',
feature_cursor_shape() ? '+' : '-',
feature_assertions() ? '+' : '-');
return buf;
}