diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-09-24 10:19:13 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-09-24 10:30:13 -0700 |
| commit | 2c78ad8889dee68e4fd06a975593d0c8fc476210 (patch) | |
| tree | 102784eb3221f9f20e7ff01fa94e70429a7dedfa /example | |
| parent | de013148d3c2c6b59c5dd035a3a72dd6132445c0 (diff) | |
lib-vt: setup a default allocator if null
Diffstat (limited to 'example')
| -rw-r--r-- | example/c-vt/src/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/example/c-vt/src/main.c b/example/c-vt/src/main.c index 45269d1d4..406e617b6 100644 --- a/example/c-vt/src/main.c +++ b/example/c-vt/src/main.c @@ -1,3 +1,9 @@ +#include <stddef.h> +#include <ghostty-vt.h> + int main() { - return 42; + GhosttyOscParser parser; + ghostty_vt_osc_new(NULL, &parser); + ghostty_vt_osc_free(parser); + return 0; } |
