fix: mini_mode_paste again
This commit is contained in:
parent
a9e5c5b262
commit
26bf0de381
1 changed files with 1 additions and 1 deletions
|
@ -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) })) {
|
if (try m.match(.{ "system_clipboard", tp.extract(&text) })) {
|
||||||
try self.dispatch_flush_input_event();
|
try self.dispatch_flush_input_event();
|
||||||
return if (command.get_id("mini_mode_paste")) |id|
|
return if (command.get_id("mini_mode_paste")) |id|
|
||||||
command.execute(id, .{})
|
command.execute(id, command.fmt(.{text}))
|
||||||
else
|
else
|
||||||
command.executeName("paste", command.fmt(.{text}));
|
command.executeName("paste", command.fmt(.{text}));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue