From c0c52a07376d22339a06d031892af649c2eb8acc Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Wed, 22 Jan 2025 17:27:34 +0100 Subject: Clipboard image and sound proc decls --- index.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.htm') diff --git a/index.htm b/index.htm index e610586..5e0dd3c 100644 --- a/index.htm +++ b/index.htm @@ -34,7 +34,7 @@ fd_seek : () => { throw new Error("Unexpected fd_seek call"); }, }, env : { - p_clipboard_write_impl : (size, text) => { + p_clipboard_write_text_impl : (size, text) => { let text_buffer = new ArrayBuffer(size); new Uint8Array(text_buffer).set(new Uint8Array(this.memory_buffer, text, size)); -- cgit v1.2.3