summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 13:44:56 -0300
committerGabriel Schneider <[email protected]>2026-10-24 15:41:50 -0300
commit578710b72755503ef2ef40a0ae301e608af3e3af (patch)
tree9d7c3574fcff5bbe7f975c802425446b6cc41065 /src/builtins.zig
parentb32447e0b265f25ad7807760956bedf8cf42664d (diff)
downloadpardes-578710b72755503ef2ef40a0ae301e608af3e3af.tar.gz
pardes-578710b72755503ef2ef40a0ae301e608af3e3af.zip
The Del question is a hint: shown on the notice band only after 400 ms of waiting for k or j
Diffstat (limited to 'src/builtins.zig')
-rw-r--r--src/builtins.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index d2f215d7..4fb933b0 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1306,6 +1306,7 @@ pub const Del = struct {
!c.pane.collapsed and c.pane.prompt == .none)
{
c.pane.prompt = .del_side;
+ c.pane.question_due_ns = exec.clockNow(c.p) + config.del_question_delay_ns;
c.p.active = c.id;
var rec: [32]u8 = undefined;
pardes.ctlfs.events.notePath(c.p, "ask", std.fmt.bufPrint(&rec, "{d} del k j", .{c.pane.serial}) catch "");