diff --git a/src/tui/editor.zig b/src/tui/editor.zig index f56afee..060210b 100644 --- a/src/tui/editor.zig +++ b/src/tui/editor.zig @@ -2028,7 +2028,8 @@ pub const Editor = struct { self.need_render(); } - pub fn system_paste(_: *Self, _: Context) Result { + pub fn system_paste(self: *Self, _: Context) Result { + if (builtin.os.tag == .windows) return self.paste(.{}); tui.current().rdr.request_system_clipboard(); }