diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-12-08 19:06:22 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-12-08 19:06:22 +0000 |
| commit | 0263a152d490c4120f76ae5447a114b30a43e6c8 (patch) | |
| tree | de5c1ef01c33064df7c6dfac6505af98ddbf3e7f /foot-features.h | |
| parent | changelog: DECSET 27127 - modifies Esc to send \E[27127~ instead of \E (diff) | |
| parent | install: simplify sentence (diff) | |
Merge branch 'input-method-editor'
Closes #134
Diffstat (limited to 'foot-features.h')
| -rw-r--r-- | foot-features.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/foot-features.h b/foot-features.h new file mode 100644 index 00000000..8da22f6c --- /dev/null +++ b/foot-features.h @@ -0,0 +1,12 @@ +#pragma once + +#include <stdbool.h> + +static inline bool feature_ime(void) +{ +#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED + return true; +#else + return false; +#endif +} |
