summaryrefslogtreecommitdiff
path: root/dev/gui
diff options
context:
space:
mode:
Diffstat (limited to 'dev/gui')
-rw-r--r--dev/gui/gui.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/gui/gui.zig b/dev/gui/gui.zig
index 5d1dc03a..cf384238 100644
--- a/dev/gui/gui.zig
+++ b/dev/gui/gui.zig
@@ -1355,7 +1355,7 @@ const Client = struct {
cl.lock.lockUncancelable(cl.io);
defer cl.lock.unlock(cl.io);
for (cl.inbox.items) |msg| switch (msg) {
- .unit, .screen, .refused, .blob => |b| std.heap.c_allocator.free(b),
+ .unit, .refused, .blob => |b| std.heap.c_allocator.free(b),
.checked, .ended, .left => {},
};
cl.inbox.clearRetainingCapacity();
@@ -1368,8 +1368,6 @@ const Client = struct {
const link_ended = cl.link_ended;
cl.lock.unlock(cl.io);
for (cl.taken.items) |msg| {
- // PARDES_TEST_LATENCY: when a terminal's delta came (an echo's).
- if (msg == .screen) latencyNote("S {d}\n", .{monoNs()});
l.take(msg);
// And after a unit, the first of its own inputs not confirmed.
if (msg == .unit) {
@@ -7687,7 +7685,7 @@ test "a detached GUI authority follows terminal directory changes with no window
defer ptys.deinit();
var no_peers: replica.Peers = .{};
var shell: Shell = .{ .core = core, .io = io, .gpa = gpa, .lsp_allocator = gpa, .ptys = &ptys, .queue = &queue, .watches = undefined, .peers = &no_peers };
- const child = try host_io.forkShell(null, 0, &rcs, "/bin/sh", start, 24, 80);
+ const child = try host_io.forkShell(null, 0, &rcs, "/bin/sh", start, .{ .cols = 80, .rows = 24 });
ptys.slots[0] = .{ .fd = child.file.handle, .pid = child.pid };
try std.testing.expect(host_io.writeFd(child.file.handle, "cd child\n"));
const until = std.Io.Clock.awake.now(io).toMilliseconds() + 2_000;