summaryrefslogtreecommitdiff
path: root/dev/macos/Sources/AppDelegate.swift
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-20 19:22:32 -0300
committerGabriel Schneider <[email protected]>2026-11-20 19:51:13 -0300
commit4e1432049765be6e793a3834c93c4cd5318e82bc (patch)
treeaa8e98c4cb2b7ee6ba33a49255fa85cab0089e2d /dev/macos/Sources/AppDelegate.swift
parent486f347adeed5bac6aaabe8be34e6a69bf323a62 (diff)
parent2d75490196a9d15eff6ac471e9584101a5697afe (diff)
downloadpardes-4e1432049765be6e793a3834c93c4cd5318e82bc.tar.gz
pardes-4e1432049765be6e793a3834c93c4cd5318e82bc.zip
integration: six slot fields typed, the docking vocabulary, the Mac's callbacks and consumer-test, on six small faults: pardes-slots (Pipe.PendingPipe.pane, Ask.wait.pane, theme_file_pane, ThemeFileRequest.pane as Pane.Id; Authority.view_of and Peer.view as View.Id; layout.dockFrom and the prose; macos State.callbacks; the build step consumer-test) and pardes-merge42; one conflict, in Peers.detach, where the pair's lifetime rule (daemon.keepSession) and the view's type (peer.view.index()) met on neighbouring lines: both kept; tui core-test 874/1031 (157 skipped), shell-test 1073/1076, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; this line carries the client's heap corruption that came with pardes-merge40 (a fix is being made): not gated further until it has it
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/macos/Sources/AppDelegate.swift')
-rw-r--r--dev/macos/Sources/AppDelegate.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/macos/Sources/AppDelegate.swift b/dev/macos/Sources/AppDelegate.swift
index 4168999f..5ee775cf 100644
--- a/dev/macos/Sources/AppDelegate.swift
+++ b/dev/macos/Sources/AppDelegate.swift
@@ -132,7 +132,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate {
// to change the day macos_min_version reaches 14.
NSApp.activate(ignoringOtherApps: true)
- var runtime = pardes_callbacks_s(
+ var callbacks = pardes_callbacks_s(
userdata: Unmanaged.passUnretained(self).toOpaque(),
wakeup: { ud in
// A pty reader thread. Every other function in pardes.h is
@@ -168,7 +168,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate, PardesViewDelegate {
// greeting until it has seen a size, so a correction sent afterwards
// arrives with the first prompt already wrapped to the wrong width.
let grid = view.gridSize
- let rc = pardes_init(&runtime, grid.cols, grid.rows)
+ let rc = pardes_init(&callbacks, grid.cols, grid.rows)
if rc != 0 {
NSLog("pardes: the core failed to boot at \(grid.cols)x\(grid.rows), pardes_init returned \(rc)")
// Not NSApp.terminate — that runs applicationWillTerminate, which