summaryrefslogtreecommitdiff
path: root/src/look.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/look.zig')
-rw-r--r--src/look.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/look.zig b/src/look.zig
index 31b80948..7df48c5a 100644
--- a/src/look.zig
+++ b/src/look.zig
@@ -851,7 +851,7 @@ fn lookSpanIn(p: *Pardes, pane: *Pane, from: LookFrom, delta: i32, budget: *usiz
/// A command pane has the keyboard: `n` there walks its own output.
fn commandPaneActive(p: *Pardes) bool {
const pane = p.panes[p.active] orelse return false;
- return pane.command != null and pane.file == null and !p.header_focus;
+ return pane.command != null and pane.file == null and p.header == null;
}
pub fn lookWalk(p: *Pardes, delta: i32) void {