Snapshot for release 2026.10.14.2 (internal e57da4b)

This commit is contained in:
Tom Bohar 2026-10-14 10:17:09 -04:00
commit caaa73a288
4 changed files with 124 additions and 0 deletions

View file

@ -469,6 +469,15 @@ public sealed partial class RynthLuaPlugin
return LibraryImGuiValues.NewVec2(s, size.X, size.Y);
});
// ── Clipboard (any time; Windows clipboard, Unicode text) ───────
Fn("SetClipboardText", args =>
{
DynValue v = LuaArgs.At(args, 0);
string text = v.IsNil() ? string.Empty : v.ToPrintString();
return DynValue.NewBoolean(WinClipboard.SetText(text));
});
Fn("GetClipboardText", args => DynValue.NewString(WinClipboard.GetText()));
im["ImGui"] = DynValue.NewTable(im); // require("imgui").ImGui works too
var mt = new Table(s);