From c24a9e40215bc30c68c9db7675f1c6a07d9bbae3 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 18 Aug 2026 12:09:12 -0300 Subject: modal + file_pane: rework editing math and pane behavior, config/syntax additions, unit tests --- src/pdf_pane_integration_test.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pdf_pane_integration_test.zig') diff --git a/src/pdf_pane_integration_test.zig b/src/pdf_pane_integration_test.zig index eaebae5e..b290616e 100644 --- a/src/pdf_pane_integration_test.zig +++ b/src/pdf_pane_integration_test.zig @@ -111,7 +111,8 @@ test "PdfSections Look follows the exact owning PDF, not an equal path" { const p = try Pardes.init(gpa, .{ .file = path, .cols = 80, .rows = 28 }); defer p.deinit(); const first = p.panes[0].?; - pdf_pane.openSections(p, 0); + // Bare normal-mode `f` on a PDF dispatches the PdfSections builtin. + p.update(.{ .key = .{ .cp = 'f', .text = "f" } }); const first_output_id = first.search_pane orelse return error.MissingPdfSectionsOutput; const first_output = p.panes[first_output_id].?; try std.testing.expect(pdf_pane.isSectionsOutput(first_output)); -- cgit v1.3