summaryrefslogtreecommitdiff
path: root/core/Pick.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Pick.zig')
-rw-r--r--core/Pick.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Pick.zig b/core/Pick.zig
index 9a9d0cde..5951f925 100644
--- a/core/Pick.zig
+++ b/core/Pick.zig
@@ -182,11 +182,11 @@ pub fn deinit(pk: *Pick, gpa: std.mem.Allocator) void {
/// Whether a search a builtin asks for from pane `id` is a picker in the
/// tag (SPEC ยง14.3 phase 4): in a session whose jumps walk, from the
-/// keyboard or a click (kbdin's and mousein's too), never a script's word
-/// (a 9P exec's: the query pane, whose rows it reads back, and whose `not
-/// found` it hears).
+/// keyboard or a click (kbdin's and mousein's too, which run as theirs:
+/// ninep/ctl.zig writeKbdin), never a script's word (a 9P exec's: the query
+/// pane, whose rows it reads back, and whose `not found` it hears).
pub fn asked(p: *const Pardes) bool {
- return p.settings.jumps == .walk and (!p.fs.serving or p.fs.typed);
+ return p.settings.jumps == .walk and !p.fs.serving;
}
/// Picker `id`, kept or live.