I recently discovered Windows Terminal's "Debug Tap": https://github.com/microsoft/terminal/wiki/Enabling-the-debug-tap
This is great for diagnosing things and seeing where Terminal.Gui is being stupid. For example, using this you can see where our painting logic sometimes causes the entire screen to be redrawn with just the mouse moving.
However, it's also limiting in that it shows everything going to/from the terminal.
I'd like to have a debug tap built into ConsoleDriver that shows what we're emitting and receiving with the ability to just show ANSI ESC sequences (or classes of sequences). It'd be cool if it could dump to a log file and/or to a real-time viewer that rand side-by-side with whatever app was running.
I recently discovered Windows Terminal's "Debug Tap": https://github.com/microsoft/terminal/wiki/Enabling-the-debug-tap
This is great for diagnosing things and seeing where Terminal.Gui is being stupid. For example, using this you can see where our painting logic sometimes causes the entire screen to be redrawn with just the mouse moving.
However, it's also limiting in that it shows everything going to/from the terminal.
I'd like to have a debug tap built into
ConsoleDriverthat shows what we're emitting and receiving with the ability to just show ANSI ESC sequences (or classes of sequences). It'd be cool if it could dump to a log file and/or to a real-time viewer that rand side-by-side with whatever app was running.