[x] ... the documentation does not mention anything about my problem
[x] ... there are no open or closed issues that are related to my problem
Description
When using the experimental debug build, tty gets all messed up, when it was working before. I suspect one of the many tty state flags is getting messed up, but I don't have a clue which.
Expected behaviour
TTY not be return the the beginning of the line after every single character typed once a debug has been invoked. The correct behavior can be see with the workaround:
Was working in buildx 0.14.0, but when I upgraded, it stopped working correctly since at least 0.16.2. I've also tested it locally on a windows laptop with WSL2. And the problem happens there too. So it was working, and then it wasn't.
Contributing guidelines
I've found a bug and checked that ...
Description
When using the experimental debug build, tty gets all messed up, when it was working before. I suspect one of the many tty state flags is getting messed up, but I don't have a clue which.
Expected behaviour
TTY not be return the the beginning of the line after every single character typed once a debug has been invoked. The correct behavior can be see with the workaround:
It looks like turning off the tty for the progress prevents whatever bad state the terminal is getting in.
Actual behaviour
TTY returns the the beginning of the line after every single character typed once a debug has been invoked.
I've tested this in Original Command Prompt, Window Terminal, xterm, git's mintty terminal (on window), and they all have this erroneous behavior now
Buildx version
github.com/docker/buildx v0.17.1 257815a
Docker info
Builders list
Configuration
Build logs
Additional info
Was working in buildx 0.14.0, but when I upgraded, it stopped working correctly since at least 0.16.2. I've also tested it locally on a windows laptop with WSL2. And the problem happens there too. So it was working, and then it wasn't.