aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-07 18:29:21 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-07 18:29:21 +0300
commitdcfe11a7588fcd42471159453810abc9b7720a57 (patch)
treec32a77266028e73ca2382b96c96f8438a5fcd621 /scripts
parent2dfed860103c4e4505ac7f25def9fe37da1e1e6a (diff)
build: update libghostty-vt vendor
vendor ghostty 063ac3e and remove the musl libc++ link workaround. expose the new selection formatter and hyperlink uri apis for follow-up rendering work. add manual artifact validation for static linux builds.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test_vendor_libghostty_vt.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/test_vendor_libghostty_vt.py b/scripts/test_vendor_libghostty_vt.py
index 7fbea8ae..a26bd204 100644
--- a/scripts/test_vendor_libghostty_vt.py
+++ b/scripts/test_vendor_libghostty_vt.py
@@ -48,10 +48,11 @@ class VendorLibghosttyVtTests(unittest.TestCase):
def test_embedded_libghostty_logging_is_silenced(self) -> None:
root = Path(__file__).resolve().parent.parent / "vendor" / "libghostty-vt"
lib_vt = root / "src" / "lib_vt.zig"
- text = lib_vt.read_text()
- self.assertIn("fn silentLog(", text)
- self.assertIn(".log_level = .err", text)
- self.assertIn(".logFn = silentLog", text)
+ sys_zig = root / "src" / "terminal" / "c" / "sys.zig"
+ lib_text = lib_vt.read_text()
+ sys_text = sys_zig.read_text()
+ self.assertIn('.logFn = @import("terminal/c/sys.zig").logFn', lib_text)
+ self.assertIn("if (global.log == null) return;", sys_text)
if __name__ == "__main__":