fix: mini_mode_paste again

This commit is contained in:
CJ van den Berg 2024-11-22 15:39:14 +01:00
parent a9e5c5b262
commit 26bf0de381
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -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}));
}