diff options
Diffstat (limited to 'core/Places.zig')
| -rw-r--r-- | core/Places.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Places.zig b/core/Places.zig index 63f9ced6..b4ef17aa 100644 --- a/core/Places.zig +++ b/core/Places.zig @@ -928,13 +928,13 @@ test "places: each on the hit ground in its text's own ink, the current one soli try std.testing.expectEqual(pardes.Color{ .rgb = c.hit }, other.bg); try std.testing.expectEqual(pardes.Color{ .rgb = c.page.text }, other.fg); } - // Searched again from line 2: its place current and selected, the - // selection over the hit; then `(`, no regex: the others faint (line - // 10's: the prompt's words lie over the top rows). + // Searched again from line 2: its place current and selected, drawn as + // the place (body_layer: one meaning, one look); then `(`, no regex: the + // others faint (line 10's: the prompt's words lie over the top rows). typeKeys(p, "/alpha"); try std.testing.expectEqual(@as(?usize, 1), pane.places.current); s = try p.render(frame.allocator()); - for (0..4) |i| try std.testing.expectEqual(pardes.Color{ .rgb = c.page.selection.ground }, s.at(x + 6 + @as(u16, @intCast(i)), y + 1).style.bg); + for (0..4) |i| try std.testing.expectEqual(pardes.Color{ .rgb = c.hit_current }, s.at(x + 6 + @as(u16, @intCast(i)), y + 1).style.bg); typeKeys(p, "("); try std.testing.expect(pardes.Prompt.dims(p, pane)); s = try p.render(frame.allocator()); |
