summaryrefslogtreecommitdiff
path: root/src/host_io.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 00:06:42 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commitc742d19d4bacbd9a91627c4859ca8cb0d11bdba7 (patch)
tree810036d05946b51dfadef508ee75f677303ba7c8 /src/host_io.zig
parente4fbb97a506ca2a4b469b6e2e13ecba6e516272c (diff)
downloadpardes-c742d19d4bacbd9a91627c4859ca8cb0d11bdba7.tar.gz
pardes-c742d19d4bacbd9a91627c4859ca8cb0d11bdba7.zip
Term: the terminal as the core calls it, src/Term.zig, its lifecycle first (docs/next-terminal.md, Phase 0): Term.open makes an emulator and Term.close frees it, Term.due says when its next kitty frame is due, Term.revive resets a restored terminal's modes under its banner, Term.start and Term.stop run the PNG resize workers; the pane half of each is the core's: panes.createDoc and panes.createTerminal make the pane (the speculation guard there), emulatorGpa and emulator_gpa are the core's choice of allocator, teardownPane closes the emulator, dump.zig's revivePane resets what the old shell was and ensureKind opens an emulator straight into the pane; tape.authorityOnly is the one guard Kind.zig and the terminal both had a copy of; nothing else changes
Diffstat (limited to 'src/host_io.zig')
-rw-r--r--src/host_io.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host_io.zig b/src/host_io.zig
index 3141ff64..0e1d29fd 100644
--- a/src/host_io.zig
+++ b/src/host_io.zig
@@ -173,13 +173,13 @@ pub fn testClock() ?u64 {
/// heap, `pa_api.heap`: the pdf addon's documents and pages). `stopWorkers`
/// is its defer.
pub fn startWorkers(allocs: pardes.memory.Allocators) void {
- pardes.TerminalImages.start(allocs.image);
+ pardes.Term.start(allocs.image);
pardes.Kind.heap = allocs.addon;
pardes.syntax.start(allocs.tree_sitter);
}
pub fn stopWorkers() void {
- pardes.TerminalImages.stop();
+ pardes.Term.stop();
pardes.syntax.stop();
}