diff options
Diffstat (limited to 'core/Band.zig')
| -rw-r--r-- | core/Band.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Band.zig b/core/Band.zig index cdeaf19b..7d874319 100644 --- a/core/Band.zig +++ b/core/Band.zig @@ -589,6 +589,8 @@ pub fn line(band: *const Band, arena: std.mem.Allocator, tab: u16, y: u16) !Line /// place of the path while the band shows. Worked out from the state as /// the frame's band is, in a room of its own on the stack. pub fn docLeft(p: *Pardes, buf: []u8) ?[]const u8 { + // A picker's steps are lists, never a doc: no band made twice a frame. + if (p.view().tag_state.kind == .pick) return null; const id = TagState.hostOf(p) orelse return null; const pane = p.panes[id] orelse return null; if (takes(p, id) == 0) return null; |
