better api for clipboard

This commit is contained in:
Nishi 2025-12-31 04:29:04 +09:00
commit 4bdda59693
29 changed files with 81 additions and 91 deletions

View file

@ -29,6 +29,9 @@ void handler(MwWidget handle, void* user_data, void* call_data) {
(void)handle;
(void)user_data;
(void)call_data;
/* nishi: please rewrite this part */
/*
char* clipboard;
clipboard = MwLLGetClipboard(handle->lowlevel);
@ -37,6 +40,7 @@ void handler(MwWidget handle, void* user_data, void* call_data) {
MwVaApply(text, MwNtext, clipboard);
MwForceRender(text);
}
*/
resize(window, NULL, NULL);
}