summaryrefslogtreecommitdiff
path: root/src/macos
diff options
context:
space:
mode:
Diffstat (limited to 'src/macos')
-rw-r--r--src/macos/Sources/PardesView.swift4
-rw-r--r--src/macos/pardes.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/src/macos/Sources/PardesView.swift b/src/macos/Sources/PardesView.swift
index 4ea4475a..23cd0f78 100644
--- a/src/macos/Sources/PardesView.swift
+++ b/src/macos/Sources/PardesView.swift
@@ -79,8 +79,8 @@ enum Trackpad {
static let forceClickButton: pardes_mouse_button_e = PARDES_MOUSE_RIGHT
}
-// Matches bg_default/fg_default in src/gui/gui.zig and DEFAULT_FG/DEFAULT_BG in
-// src/web/app.mjs. Three shells render the same core; if these drift, comparing
+// Matches bg_default/fg_default in src/gui/gui.zig. Two shells render the
+// same core; if these drift, comparing
// a screenshot across backends stops meaning anything.
let pardesDefaultFG: UInt32 = 0xCC_CC_CC
let pardesDefaultBG: UInt32 = 0x12_12_12
diff --git a/src/macos/pardes.h b/src/macos/pardes.h
index 33db3bb5..62ae5218 100644
--- a/src/macos/pardes.h
+++ b/src/macos/pardes.h
@@ -10,7 +10,7 @@
// Swift owns NSApplication, the window, input translation, and drawing.
//
// There is exactly one core per process, so there are no handles: the state is
-// a file-scoped singleton, same as src/web.zig. Every function below must be
+// a file-scoped singleton. Every function below must be
// called from the main thread. The one exception is the `wakeup` callback,
// which fires from a pty reader thread.
@@ -28,8 +28,7 @@ extern "C" {
// ---------------------------------------------------------------- frame
// One rendered cell. Mirrors pardes.Cell (src/pardes.zig) flattened for the
-// wire; the identical encoding is spelled a second time for the browser in
-// src/web.zig as WebCell.
+// wire.
typedef struct {
// UTF-8 grapheme, `len` bytes. The core caps graphemes at seven bytes; the
// eighth is always zero so a debugger prints something sensible.