I was displaying output from a clock module I sent “date time \r” It should have eliminated the scrolling. Instead it scrolls horizontally. PuTTY works as expected.
I was displaying output from a clock module I sent "date time \r" It should have eliminated the scrolling.
How? The \r is a carriage return. That should, on some operating systems, not the worlds most stupid (oops, that was supposed to be popular) operating system, move the cursor back to the beginning of the line and down to the next row. Windoze seems to think that it takes a \r and a \n to do that.
What behavior are you actually seeing? Expecting? On which OS?
Most TTY systems treat \r and \n same as windows. CR-\r returns to beginning of line LF-\n moves to the next line. That is how VT100 treats them also which is one of the most common terminal emulators.
Weather the above is accurate or not is beside the point:
The IDE 1.6.5 does not respond to CR, \r at all. That is a bug.
From GitHub this is a known issue listed as wontfix but also as 1.6.6 milestone. workaround: PuTTY