| 281 | } |
| 282 | |
| 283 | DFHACK_EXPORT bool DFHack::setClipboardTextCp437(string text) { |
| 284 | if (!g_sdl_handle) |
| 285 | return false; |
| 286 | return 0 == DFHack::DFSDL::DFSDL_SetClipboardText(DF2UTF(text).c_str()); |
| 287 | } |
| 288 | |
| 289 | DFHACK_EXPORT bool DFHack::setClipboardTextCp437Multiline(string text) { |
| 290 | if (!g_sdl_handle) |