diff options
Diffstat (limited to 'test/panes.zig')
| -rw-r--r-- | test/panes.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/panes.zig b/test/panes.zig index db816d41..3b842c59 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -63,6 +63,8 @@ const TagLayerTests = struct { p.update(.{ .mouse = mouse(layer, x, .release) }); try std.testing.expect(pane.focus == .tag); try std.testing.expectEqual(at, @as(usize, @intCast(pane.tag.cur_col))); + // A clicked tag is in normal mode: `i` types where it was clicked. + p.update(.{ .key = .{ .cp = 'i', .text = "i" } }); p.update(.{ .key = .{ .cp = 'X', .text = "X" } }); _ = try p.render(frame.allocator()); const edited = try pardes.tagline.tagText(p, frame.allocator(), pane); |
