summaryrefslogtreecommitdiff
path: root/docs/ghostty-macos-notes.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 22:03:14 -0300
committerGabriel Schneider <[email protected]>2026-11-18 22:23:51 -0300
commit99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch)
tree813596ea84318a7bae4fd7416ba463de8e3b7107 /docs/ghostty-macos-notes.md
parent92d553123673376adf6126ab90d49a22c5b833d2 (diff)
downloadpardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.tar.gz
pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.zip
core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/ghostty-macos-notes.md')
-rw-r--r--docs/ghostty-macos-notes.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ghostty-macos-notes.md b/docs/ghostty-macos-notes.md
index 3974d0d8..830d4b1f 100644
--- a/docs/ghostty-macos-notes.md
+++ b/docs/ghostty-macos-notes.md
@@ -30,7 +30,7 @@ constant with no Zig tag.
This is the single most transferable thing in the repository, it costs about ten
lines of build plumbing, and it runs on Linux. pardes now does the same thing in
-`src/macos.zig`, extended to compare exported function arity and scalar widths as
+`runtime/macos.zig`, extended to compare exported function arity and scalar widths as
well, because a hand-written header drifts in signatures too.
## Zig→host is one callback, not N
@@ -56,7 +56,7 @@ comptime {
The payoff is that adding a feature adds an enum case, not a struct field: hosts
that do not implement it return `false` and the ABI never changed. Worth copying
the day a fixed callback list starts growing. pardes has three callbacks today
-— `wakeup`, `set_clipboard`, `read_clipboard` (`Runtime` in `src/macos.zig:153`)
+— `wakeup`, `set_clipboard`, `read_clipboard` (`Runtime` in `runtime/macos.zig:153`)
— and does not need it yet.
Two userdata scopes, worth noting: the runtime struct's `userdata` is
@@ -102,7 +102,7 @@ there Swift owns an `MTKView` and passes a command buffer *into* Zig
(`ghostty_inspector_metal_render`, `macos/Sources/Ghostty/Surface View/InspectorView.swift:417`).
pardes inverts this deliberately — see `docs/macos.md`. The short version: a
-terminal grid rendered by a hand-written Metal atlas is what `src/gui/gui.zig`
+terminal grid rendered by a hand-written Metal atlas is what `dev/gui/gui.zig`
already spends thousands of lines on, and a cell grid is exactly what CoreText
draws natively.