4 ms·
To workaround it add the following to your shell's rc file: function reset { printf '\e]\e\\\ec' } Uses the VT100 RIS escape code to ask the terminal to reset
by aumerle 3y ago
To workaround it add the following to your shell's rc file:
function reset { printf '\e]\e\\\ec' }
Uses the VT100 RIS escape code to ask the terminal to reset itself. But first it send an empty OSC escape to reset the terminals VT parser back to normal mode, so that the RIS escape code is parsed correctly. No need to depend on any external utilities like tput or the reset binary. This should work with any halfway decent terminal emulator.