Closed AdhamRagabMCHP closed 1 year ago
Seems that using os.EOL causes issues on Windows...let me see why that is
To client: {"seq":0,"type":"event","event":"output","body":{"category":"Socket","output":"Hello World!\r\r\n"}}
It has two carriage return characters. Let me see how to ensure how this doesn't happen.
Ah - It's because of the test. Let me fix it.
Test should be fixed on Windows now.
Tests now have passed.
This PR adds newlines to every OutputEvent emitted for UART output to the debug console. It matches the OS it is on + the eolCharacter specified in the launch.json. See https://github.com/eclipse-cdt-cloud/cdt-gdb-vscode/pull/91 for an initial discussion on why this came to be.