clipboardTextSet
Set the textual content of the system clipboard.
Only valid between Window.beginand Window.end.
Parameters
- text:[]const u8
- []const u8
Source
Implementation
pub fn clipboardTextSet(text: []const u8) void {
const cw = currentWindow();
cw.backend.clipboardTextSet(text) catch |err| {
logError(@src(), err, "Could not set clipboard text '{s}'", .{text});
};
}