summaryrefslogtreecommitdiff
path: root/docs/ghostty-macos-notes.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ghostty-macos-notes.md')
-rw-r--r--docs/ghostty-macos-notes.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ghostty-macos-notes.md b/docs/ghostty-macos-notes.md
index 830d4b1f..3dc03265 100644
--- a/docs/ghostty-macos-notes.md
+++ b/docs/ghostty-macos-notes.md
@@ -56,10 +56,10 @@ 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 `runtime/macos.zig:153`)
+— `wakeup`, `set_clipboard`, `read_clipboard` (`Callbacks` in `runtime/macos.zig:153`)
— and does not need it yet.
-Two userdata scopes, worth noting: the runtime struct's `userdata` is
+Two userdata scopes, worth noting: the callbacks struct's `userdata` is
app-scoped, and each surface carries its own. Swift round-trips both with
`Unmanaged.passUnretained(self).toOpaque()` — libghostty never retains, so
lifetime stays entirely on the Swift side.