QEMU was leaving my terminal in a weird state and it took me a while to finally debug it to the precise capability in question: tput smam
vs tput rmam
.
Is there a way to inspect the current terminal state, hopefully showing the current value of all capabilities at once?
This would allow me to easily diff out a working vs a "broken" terminal to find out what was modified.
Finding out the current state of any specific capability would also be a good start though, e.g. smam
vs rmam
.
Tested in Ubuntu 19.10, Gnome terminal.