summaryrefslogtreecommitdiff
path: root/src/gui/gui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.zig')
-rw-r--r--src/gui/gui.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 92ded62c..acb8d729 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -1387,7 +1387,7 @@ test "GUI PTY deletion joins an idle reader and retains only its owned child for
const child = try host_io.forkShell(null, 0, &rcs, "/bin/sh", "", 24, 80, null);
ptys[0] = .{ .fd = child.file.handle, .pid = child.pid, .serial = core.panes[0].?.serial };
try spawnReader(gpa, &ptys[0].?, 0, 1, &queue);
- try core.removePane(0);
+ try core.removePane(0, null);
shell.reconcilePtys();
try std.testing.expect(queue.readers[0] == null);
try std.testing.expectEqual(@as(usize, 0), queue.waiting);