blob: 8ed817a0c368cb66495328399caef66daffc513e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
//! Print the vendored libghostty-vt's terminfo source to stdout.
//! Run at re-vendor time (see README.md here); the output is committed.
const std = @import("std");
const terminfo = @import("terminfo");
pub fn main(init: std.process.Init) !void {
var buf: [64 * 1024]u8 = undefined;
var w = std.Io.File.stdout().writerStreaming(init.io, &buf);
try terminfo.ghostty.encode(&w.interface);
try w.interface.flush();
}
|