by dgl · 3y ago · 0 comments
Unsure how fish can fully protect from this, as if you run "cat" in fish, then it isn't between you and the terminal anymore? Or do you mean fish should do a reset before displaying each prompt? If I run the printf commands from the "flash.c" example in fish I end up with a messed up terminal.
printf "\e]4;1;?\a\e[>4;2m"
In xterm+fish will result in a messed up shell which you can't escape from (as ^C to clear the input doesn't work anymore).