diff options
Diffstat (limited to 'test/behaviour/placement.zig')
| -rw-r--r-- | test/behaviour/placement.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/behaviour/placement.zig b/test/behaviour/placement.zig index 467afd1b..c0bf6305 100644 --- a/test/behaviour/placement.zig +++ b/test/behaviour/placement.zig @@ -25,9 +25,10 @@ test "placement: an empty active column takes the new pane whole, a look from an try std.testing.expectEqualStrings(s.at("{d}:{d} {d}:{d}", .{ try s.column(0), first, try s.column(1), made }), try s.columns()); } -/// The screen row the tag starting `name` is drawn on. +/// The screen row the tag starting `name` is drawn on: the name, then a +/// blank before its computed words (Del at least, UX K'3). fn tagRow(s: *Session, name: []const u8) !usize { - return (try s.where(s.at("{s} Save", .{name})))[1]; + return (try s.where(s.at("{s} ", .{name})))[1]; } test "placement: New and 9P's new take the bottom half of the column's last pane" { |
