diff options
author | Phil Jones <philj56@gmail.com> | 2022-12-20 23:53:20 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-12-21 00:15:16 +0000 |
commit | 6c47cf7892d0f212b04e7b798e53c120f51022d7 (patch) | |
tree | c44b910e059d5bdcf991b2239de8d29cb007bed6 /test/config.c | |
parent | 108550fcf8d3ed8664c0e05defceaf20b4d2b49e (diff) |
Add text cursor support.
This turned out to be much more complex than anticipated, and the
potential for bugs is therefore quite high.
Diffstat (limited to 'test/config.c')
-rw-r--r-- | test/config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/config.c b/test/config.c index c69e25b..79f90e5 100644 --- a/test/config.c +++ b/test/config.c @@ -39,6 +39,12 @@ int main(int argc, char *argv[]) is_valid("anchor", "center", "Anchor center"); isnt_valid("anchor", "left-bottom", "Invalid anchor"); + /* Cursor styles */ + is_valid("text-cursor-style", "bar", "Text cursor bar"); + is_valid("text-cursor-style", "block", "Text cursor block"); + is_valid("text-cursor-style", "underscore", "Text cursor underscore"); + isnt_valid("text-cursor-style", "blocky", "Invalid text cursor style"); + /* Bools */ is_valid("horizontal", "tRuE", "Boolean true"); is_valid("horizontal", "fAlSe", "Boolean false"); |