Skip to content

Build a "debug-tap" for ConsoleDriver #2747

Description

@tig

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-and-deployIssues regarding to building and deploying Terminal.GuitestingIssues related to testing

    Type

    No type

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions