summaryrefslogtreecommitdiff
path: root/test/process/tree.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process/tree.zig')
-rw-r--r--test/process/tree.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/process/tree.zig b/test/process/tree.zig
index ee39170b..27b51bf1 100644
--- a/test/process/tree.zig
+++ b/test/process/tree.zig
@@ -482,7 +482,7 @@ fn cutWrites(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try expectEqual(@as(usize, 2500), k);
// A detached session with no frontend is 160x50 until told; a
// window's size is its own, and refuses size.
- if (process.backend == .tty) {
+ if (process.backend == .tui) {
const cols, const rows = try screenSize(f);
try expect(cols == 160 and rows == 50);
try c.write("/ctl", "size 132 40\n");