Skip to content

Commit 6c3d558

Browse files
committed
fix: correct WASM patch hunk header for terminal.zig
The patch file had incorrect metadata (604 lines vs actual 611 lines) which could cause git apply to fail or truncate the file. Regenerated the patch cleanly from the modified ghostty submodule.
1 parent 253f187 commit 6c3d558

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

patches/ghostty-wasm-api.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,10 +606,10 @@ index bc92597f5..d988967f7 100644
606606
_ = @import("../../lib/allocator.zig");
607607
diff --git a/src/terminal/c/terminal.zig b/src/terminal/c/terminal.zig
608608
new file mode 100644
609-
index 000000000..c39b0791c
609+
index 000000000..e79702488
610610
--- /dev/null
611611
+++ b/src/terminal/c/terminal.zig
612-
@@ -0,0 +1,604 @@
612+
@@ -0,0 +1,611 @@
613613
+//! C API wrapper for Terminal
614614
+//!
615615
+//! This provides a C-compatible interface to Ghostty's Terminal for WASM export.

0 commit comments

Comments
 (0)