mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-09 07:09:58 +03:00
Add texthook option
`-texthook print` prints text to console, and `-texthook copy` automatically copies text to clipboard (for use with text hooker tools). On Windows, copy mode can be toggled from the menu bar.
This commit is contained in:
@@ -97,6 +97,8 @@ int main(int argc, char *argv[])
|
||||
EM_ASM( xsystem35.shell.windowSizeChanged(); );
|
||||
#endif
|
||||
|
||||
texthook_set_mode(config.texthook_mode);
|
||||
|
||||
int exit_code = NACT_RESTART;
|
||||
while (exit_code == NACT_RESTART) {
|
||||
exit_code = g_nact->mainloop();
|
||||
|
||||
Reference in New Issue
Block a user