Open
Description
Much of the TUI logic involves the re-creation of the TUI on every USB data event.
This is perhaps wasteful and could be optimized by storing most of the objects.
On console width/height changes, most of the TUI objects would likely need to be re-created, but otherwise, only the raw value areas need to be recomputed.
There may be other complications, but this should be looked into to minimize compute time and provide a larger window for processing other data or allowing for jitter conditions in the USB event timing.