diff options
| -rw-r--r-- | src/pardes.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig index a232c9c6..55c8de8e 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -5286,6 +5286,8 @@ pub const Pardes = struct { } fn handleKey(p: *Pardes, key: Key) void { + // A double-click is two clicks with nothing between them. + p.last_click = null; if (p.macro.recording != 0 and p.macro.replaying == 0) Macro.append(&p.macro.recorded, p.gpa, key); // A question waiting on a pane takes the next key, whatever mode the // pane or a header edit is in: that key is its answer. |
