From 131d9db5ce7329017f8be6f57ad6c9d7046cf40e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20T=C3=A1mara?= Date: Thu, 30 Oct 2025 12:55:01 -0500 Subject: [PATCH] feat: [hx] match clipboard behaviour on delete --- src/tui/mode/helix.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tui/mode/helix.zig b/src/tui/mode/helix.zig index dcd3289..4e4a95c 100644 --- a/src/tui/mode/helix.zig +++ b/src/tui/mode/helix.zig @@ -307,6 +307,7 @@ const cmds_ = struct { const mv = tui.mainview() orelse return; const ed = mv.get_active_editor() orelse return; const b = try ed.buf_for_update(); + tui.clipboard_clear_all(); const root = try ed.cut_to(move_noop, b.root); try ed.update_buf(root); ed.clamp();