lib-vt: setup a default allocator if null

This commit is contained in:
Mitchell Hashimoto
2025-09-24 10:19:13 -07:00
parent de013148d3
commit 2c78ad8889
4 changed files with 30 additions and 4 deletions

View File

@@ -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;
}