Fix for use of save/restoreline() after using rputs() to display a prompt. The
line counter was never cleared (upon rputs() of "\n") and the current attribute was not saved when a new line was being buffered. This applies to JS console.write() as well since it uses rputs().
Showing with 6 additions and 1 deletion