From 6c47cf7892d0f212b04e7b798e53c120f51022d7 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 20 Dec 2022 23:53:20 +0000 Subject: Add text cursor support. This turned out to be much more complex than anticipated, and the potential for bugs is therefore quite high. --- test/config.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/config.c') 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"); -- cgit v1.2.3