memory copy/paste

This commit is contained in:
Ryan Fleury
2026-04-09 12:08:35 -07:00
parent 9aa63bc86c
commit 5f5120144b
2 changed files with 68 additions and 1 deletions
+1
View File
@@ -16004,6 +16004,7 @@ rd_frame(void)
RD_WindowState *ws = rd_window_state_from_cfg(window);
UI_Event evt = zero_struct;
evt.kind = UI_EventKind_Text;
evt.flags = UI_EventFlag_Paste;
evt.string = os_get_clipboard_text(scratch.arena);
ui_event_list_push(scratch.arena, &ws->ui_events, &evt);
}break;