summaryrefslogtreecommitdiff
path: root/test/panes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 11:40:11 -0300
committerGabriel Schneider <[email protected]>2026-11-05 12:41:36 -0300
commit3f1533813b6692a736251e4d467a7f108229ddee (patch)
tree37a32c5ebbf9d3af08923856fd6fa516f3b33a39 /test/panes.zig
parentcfd2b993feda1b3f7474225bb32db8cac8edc5ae (diff)
downloadpardes-3f1533813b6692a736251e4d467a7f108229ddee.tar.gz
pardes-3f1533813b6692a736251e4d467a7f108229ddee.zip
targets: the DOM web shell goes (src/web.zig and src/web/, its harnesses web_harness, web_snapshot, web_driver_test and web-snapshots/, tools/web_fixture.py, -Dplatform=web, -Ddump, and the web, web-harness, web-snap, web-e2e and web-driver-test steps), and with it what only a freestanding build needed: `hosted` and every guard on it (every build has a host now), memory's stack-fallback arenas and reduced_target sizes, the emscripten main, the tree-sitter libc shim and the stb stub, lsp's has_client, the web arms of the platform switches (-Dplatform is tui, gui or macos); the macOS files pass zig ast-check; docs/web.md is a paragraph on what it was
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/panes.zig')
-rw-r--r--test/panes.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/panes.zig b/test/panes.zig
index 6decd43d..9e4886fb 100644
--- a/test/panes.zig
+++ b/test/panes.zig
@@ -2579,7 +2579,6 @@ const TerminalTests = struct {
}
test "fresh-shell greeting waits for OSC 133 B input phase" {
- if (pardes.platform == .web) return;
const p = try Pardes.init(std.testing.allocator, .{ .cols = 80, .rows = 24 });
defer p.deinit();
const pane = p.panes[0].?;
@@ -2614,7 +2613,6 @@ const TerminalTests = struct {
}
test "the greeting is dropped, never typed later, once something ran or was typed first" {
- if (pardes.platform == .web) return;
for ([_][]const u8{
// A command ran before the first prompt was seen at rest.
"\x1b]133;A;aid=pardes\x07$ \x1b]133;B;aid=pardes\x07\x1b]133;C;aid=pardes\x07out\r\n\x1b]133;D;0;aid=pardes\x07\x1b]133;A;aid=pardes\x07$ \x1b]133;B;aid=pardes\x07",
@@ -2638,7 +2636,6 @@ const TerminalTests = struct {
}
test "fresh-shell commands preserve order and wait for OSC 133 B" {
- if (pardes.platform == .web) return;
const p = try Pardes.init(std.testing.allocator, .{ .tty_only = true });
defer p.deinit();
while (p.nextEffect()) |_| {} // the host has not acknowledged spawn yet
@@ -2677,7 +2674,6 @@ const TerminalTests = struct {
}
test "unmarked fresh shells omit the automatic greeting" {
- if (pardes.platform == .web) return;
const p = try Pardes.init(std.testing.allocator, .{});
defer p.deinit();
const pane = p.panes[0].?;