Closes the remaining library rows of the final completeness audit (docs/rewrite/notes/final-Z3.md): - libghostty-vt: OSC parser storage goes through the caller-supplied C allocator via a ByteStorage abstraction; ghostty_osc_new reports GHOSTTY_OUT_OF_MEMORY and failed grows invalidate the OSC like Zig. Tested with a counting/failing/limiting C allocator. - shadertoy: sampler parameter rewriting is keyed by full signature so overloads work; the Metal uniform block keeps std140 strides for iChannelTime[4] (MSL offsets checked against the upload layout). - tripwire.zig ported (named trip points, hit counts, verification) and used to port the previously skipped allocation-failure tests that have a fallible Rust path; the rest are documented. - crash: fatal signals capture siginfo + registers and a forked helper writes a minidump (minidump-writer) as an envelope attachment, like sentry-native/Breakpad; tests parse it with the minidump crate. - kitty LoadingImage::debug_dump (debug builds) and the Darwin Instruments signpost around benchmark runs. Test Plan: - cargo test -p ghostty-vt-capi --test c_allocator - cargo test -p ghostty-crash --test minidump
26 lines
498 B
Rust
26 lines
498 B
Rust
//! Safe page-based terminal memory model.
|
|
#![cfg_attr(test, allow(clippy::unwrap_used))]
|
|
pub mod cursor;
|
|
pub mod formatter;
|
|
pub mod highlight;
|
|
pub mod hyperlink;
|
|
pub mod kitty;
|
|
pub mod page;
|
|
pub mod page_list;
|
|
pub mod pin_iter;
|
|
pub mod point;
|
|
pub mod ref_counted_set;
|
|
pub mod render;
|
|
pub mod screen;
|
|
pub mod screen_set;
|
|
pub mod search;
|
|
pub mod selection;
|
|
pub mod size;
|
|
pub mod stream_readonly;
|
|
pub mod string_map;
|
|
pub mod style;
|
|
pub mod tabstops;
|
|
pub mod terminal;
|
|
pub mod tmux;
|
|
pub mod tripwire;
|