mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-24 00:05:19 +00:00
example/zig-vt
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
//! This is the public API of the ghostty-vt Zig module.
|
||||
|
||||
// The public API below reproduces a lot of terminal/main.zig but
|
||||
// is separate because (1) we need our root file to be in `src/`
|
||||
// so we can access other directories and (2) we may want to withhold
|
||||
// parts of `terminal` that are not ready for public consumption
|
||||
// or are too Ghostty-internal.
|
||||
const terminal = @import("terminal/main.zig");
|
||||
pub const Parser = terminal.Parser;
|
||||
pub const Terminal = terminal.Terminal;
|
||||
|
||||
test {
|
||||
_ = terminal;
|
||||
|
||||
Reference in New Issue
Block a user