summaryrefslogtreecommitdiff
path: root/src/Query.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Query.zig')
-rw-r--r--src/Query.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Query.zig b/src/Query.zig
index a0ccd0e5..84725085 100644
--- a/src/Query.zig
+++ b/src/Query.zig
@@ -1985,7 +1985,7 @@ pub fn key(p: *Pardes, id: usize, k: Key) bool {
// shown where it points, the keyboard staying), Enter on a hit row lands
// on it, as Enter typing does.
if (t.mode == .normal) {
- if (t.normal.prefix != .none or k.ctrl or k.alt or t.normal.count != 0) return false;
+ if (t.normal.prefix != null or k.ctrl or k.alt or t.normal.count != 0) return false;
if (k.cp == 'n' or k.cp == 'N') {
step(p, id, if (k.cp == 'n') 1 else -1);
// The caret on the rows goes to the current row, as j and k