mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-03 12:24:40 +00:00
lib-vt: boilerplate to build a shared object
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user