diff options
Diffstat (limited to 'test/behaviour/modes.zig')
| -rw-r--r-- | test/behaviour/modes.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/behaviour/modes.zig b/test/behaviour/modes.zig index ba792086..961ca788 100644 --- a/test/behaviour/modes.zig +++ b/test/behaviour/modes.zig @@ -32,7 +32,7 @@ test "modes: Esc in a column or the workspace tag gives the keyboard back to a p var s = try Session.initFile(std.testing.allocator, "x\n"); defer s.deinit(); _ = try s.newPane(); - for ([_][]const u8{ "New Tty", "Newcol" }) |tag| { + for ([_][]const u8{ "New Term", "Newcol" }) |tag| { const was = try s.focused(); // A click puts the tag in normal mode, the keyboard there; Esc is // out of it. @@ -96,7 +96,7 @@ test "modes: Esc back into a file leaves its view where it was, and a look centr // The other arm still centres: a look's `:NN`. const line = 60; try s.write(s.at("/pane/{d}/look", .{doc}), s.at(":{d}\n", .{line})); - const rows = (try s.where("Tty Save Mode"))[1] - (try s.where("/test.txt"))[1] - 1; + const rows = (try s.where("Term Save Mode"))[1] - (try s.where("/test.txt"))[1] - 1; // Drawn mid-pane, a row either way. const drawn_at = line - try topLine(&s, "/test.txt"); try std.testing.expect(drawn_at + 1 >= rows / 2 and drawn_at <= rows / 2 + 1); @@ -468,7 +468,7 @@ test "modes: hopping between two panes by Esc, window mode or a click makes no p try expectEqual(want, try s.focused()); } const doc_row = (try s.where("row"))[1]; - const shell_row = (try s.where("Tty Save Mode"))[1] + 1; + const shell_row = (try s.where("Term Save Mode"))[1] + 1; for (0..8) |_| { const other = if (try s.focused() == doc) shell else doc; const row = if (other == doc) doc_row else shell_row; |
