I have been trying to figure out why my PrettyGCode pluging is having frame rate stuttering. At least part of the problem is that the terminal is taking up significant amounts of CPU even when the tab isn't displayed. Looking in the console, after a few seconds fancy terminal mode times out and is disabled and then it starts running ok. But after a few seconds fancy comes back on and my frames drop again.
Is it possible, preferably in code, for me to disable the terminal while the tab isn't displayed? Or at least disable fancy terminal functionality?
Terminal: Detected slow client (needed 808ms for processing new log data), disabling fancy terminal functionality