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();