lib-vt: boilerplate to build a shared object

This commit is contained in:
Mitchell Hashimoto
2025-09-23 12:33:22 -07:00
parent f97518cc10
commit b006101ddd
7 changed files with 116 additions and 1 deletions

View File

@@ -65,6 +65,12 @@ pub const EraseLine = terminal.EraseLine;
pub const TabClear = terminal.TabClear;
pub const Attribute = terminal.Attribute;
comptime {
if (terminal.is_c_lib) {
_ = terminal.c_api;
}
}
test {
_ = terminal;
}