Added a new sbbs_t.console (JS console.status) flag: CON_CR_CLREOL, which
when set, force a clear-to-end-of-line sequence to be sent to the remote terminal before sending a carriage-return (CR, '\r') character. This is useful in scenarios where you want to move/home the cursor and *not* clear the screen and then display or execute something that assumes clean lines are being displayed on and thus wouldn'd bother with any clear-to-eol sequences before line-endings. Any scripts that enable this mode should disable it upon exit (e.g. using js.on_exit() to restore the original console status).
Showing with 3 additions and 0 deletions