fix: editor paste
This commit is contained in:
parent
279789d4fa
commit
a9e5c5b262
6 changed files with 14 additions and 12 deletions
|
@ -285,8 +285,10 @@ 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();
|
||||
try command.executeName("paste", command.fmt(.{text}));
|
||||
return;
|
||||
return if (command.get_id("mini_mode_paste")) |id|
|
||||
command.execute(id, .{})
|
||||
else
|
||||
command.executeName("paste", command.fmt(.{text}));
|
||||
}
|
||||
|
||||
if (try m.match(.{"render"})) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue