From 3643635640e97eb2e43730d58fcc46214e21851e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 21 Oct 2026 21:42:33 -0300 Subject: Window mode: pick the pane to focus with an outline or a label --- test/panes.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/panes.zig') diff --git a/test/panes.zig b/test/panes.zig index c8f4b7eb..e98e3a54 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -384,6 +384,7 @@ const TagNavigationTests = struct { fn window(p: *Pardes, letter: u21) void { p.update(.{ .key = .{ .cp = 'w', .ctrl = true } }); key(p, letter); + key(p, Key.enter); } test "a tag remembers its cursor, starts on Save, and a click moves it" { @@ -4718,12 +4719,14 @@ test "cancelled normal gestures leave no count or subprefix after mouse and focu .focus, .last => { p.update(.{ .key = .{ .cp = 'w', .ctrl = true } }); p.update(.{ .key = .{ .cp = 'l' } }); + p.update(.{ .key = .{ .cp = Key.enter } }); try std.testing.expectEqual(other, p.active); if (gesture == .last) { p.update(.{ .key = .{ .cp = Key.escape } }); } else { p.update(.{ .key = .{ .cp = 'w', .ctrl = true } }); p.update(.{ .key = .{ .cp = 'h' } }); + p.update(.{ .key = .{ .cp = Key.enter } }); } try std.testing.expectEqual(@as(usize, 0), p.active); }, -- cgit v1.3