Open grymoire opened 1 month ago
It would probably be good to define as a function, such as void ResetTerminalOnExit()
or similar. Possible items which might be output to reset the terminal (did DEC/ANSI not provide a shortcut method?) might include:
It would probably be good to define as a function, such as void ResetTerminalOnExit() or similar. Possible items which might be output to reset the terminal (did DEC/ANSI not provide a shortcut method?) might include:
I'm going to second that it would be cool to have just a ResetTerminal()
function. Numerous times I've wanted to type clear
or reset
and have it drop me back to the top of the screen like a standard bash prompt. This is also a present issue when entering / exiting the logic analyzer mode.
Looking at the statemachine in #100, this appears to be related as well. I think it's probably best if we could sketch out the statemachine's intended execution and then create an update to address that.
When you connect to the BP, and enable VT100 compatible color mode, the bottom of the screen displays the voltages on the pins.
When you type "#" of "$" (reset, or boot mode), the BP disconnects, yet the terminal is not cleared. The voltages stayed displayed on the screen, even when you execute commands that could cause the screen to scroll down. It is necessary to type "clear" to reset the terminal.