diff options
Diffstat (limited to 'core/Trail.zig')
| -rw-r--r-- | core/Trail.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Trail.zig b/core/Trail.zig index f6cfec9a..6bed619b 100644 --- a/core/Trail.zig +++ b/core/Trail.zig @@ -242,6 +242,9 @@ pub fn replaceStep(p: *Pardes, id: usize, path: []const u8, at: Spot) !usize { /// pane is held, as Keep holds it, and the step opens where a held pane's /// go, in its reader. fn show(p: *Pardes, id: usize, path: []const u8, at: Spot) !usize { + // A step in the pane a picker asks from or previews in ends the picker + // first, as Esc does (UX DESIGN O3): the step is from its own text. + pardes.Pick.yieldFor(p, id); const pane = p.panes[id].?; if (pane.file) |f| if (std.mem.eql(u8, f.path, path)) { look.clearNavigationSelection(p, pane); |
