mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-10 21:24:12 +01:00
6d3ad183ab
Previously, any CR without NL was treated just like a NL. For tools that used single CRs to update a progress bar (such as dfu-util), this would end up printing the subsequent versions of the progress bar below each other, instead of updating a single line as intended. Additionally, since ConsoleOutputStream only scrolled the view on \n, these updates would end up outside of the main view, making the upload progress quite unclear. This commit makes EditorConsole support lone CRs by resetting the insert position to the start of the current line, so subsequent writes overwrite existing content. If subsequent lines are shorter than an earlier line, only part of the earlier line will be overwritten (this mimics what terminal emulators do). |
||
---|---|---|
.. | ||
cc/arduino | ||
processing/app | ||
Keypad_mac.zip | ||
Keypad_with_hidden_files.zip | ||
optiboot_atmega328.hex | ||
sketch.hex | ||
Test2.zip | ||
Test.zip |