diff --git a/src/tui/tui.zig b/src/tui/tui.zig index be045e6..a6aee5b 100644 --- a/src/tui/tui.zig +++ b/src/tui/tui.zig @@ -286,7 +286,7 @@ fn receive_safe(self: *Self, from: tp.pid_ref, m: tp.message) !void { if (try m.match(.{ "system_clipboard", tp.extract(&text) })) { try self.dispatch_flush_input_event(); return if (command.get_id("mini_mode_paste")) |id| - command.execute(id, .{}) + command.execute(id, command.fmt(.{text})) else command.executeName("paste", command.fmt(.{text})); }