Added native output grabbing for Python and Lua: less hacky than output_grabber.py, should work on ProxSpace as well
This commit is contained in:
1 parent
83f6e2b56b
commit
369c5bb5db
23 files changed
+387
-198
No files matched your search
@@ -553,7 +553,7 @@ check_script:
|
||||
if (cmd[0] != '\0') {
|
||||
uint8_t old_printAndLog = g_printAndLog;
|
||||
if (!printprompt) {
|
||||
g_printAndLog &= PRINTANDLOG_LOG;
|
||||
g_printAndLog &= ~PRINTANDLOG_PRINT;
|
||||
}
|
||||
char prompt[PROXPROMPT_MAX_SIZE] = {0};
|
||||
prompt_compose(prompt, sizeof(prompt), prompt_ctx, prompt_dev, prompt_net, true);
|
||||
@@ -1462,6 +1462,8 @@ int main(int argc, char *argv[]) {
|
||||
preferences_save();
|
||||
}
|
||||
|
||||
free_grabber();
|
||||
|
||||
return mainret;
|
||||
}
|
||||
#endif //LIBPM3
|
||||
Reference in new issue
Block a user