summaryrefslogtreecommitdiff
path: root/src/edit_cmd.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit_cmd.zig')
-rw-r--r--src/edit_cmd.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/edit_cmd.zig b/src/edit_cmd.zig
index ebeae223..d3377e09 100644
--- a/src/edit_cmd.zig
+++ b/src/edit_cmd.zig
@@ -97,7 +97,9 @@ const World = struct {
// A look opens it, or finds it open, where a look would; the
// keyboard stays where the Edit ran.
const was = p.active;
+ p.look_text = true;
look.lookAt(p, w.from, path);
+ p.look_text = false;
if (p.panes[was] != null) p.active = was;
for (p.panes, 0..) |slot, id| {
const pane = slot orelse continue;