Carriage Return ("\r") as first char in preamble to service interface buffer #31

Closed
opened 2020-04-10 17:09:04 +02:00 by muellerr · 1 comment
Owner

Suggestion: Add carriage return as first char of preamble.

This ensures that the output is displayed correctly when only using "\n" << std::flush or std::endl as a stream terminator and using terminal programs like Puttty or the Eclipse internal terminal. Otherwise, the output is indented in a very odd way.

Suggestion: Add carriage return as first char of preamble. This ensures that the output is displayed correctly when only using "\n" << std::flush or std::endl as a stream terminator and using terminal programs like Puttty or the Eclipse internal terminal. Otherwise, the output is indented in a very odd way.
Author
Owner

UPDATE: This can be an optional constructor argument for the ServiceInterfaceStream. Sometimes, the additional CR character leads to two line breaks (host computer console for example).

UPDATE: This can be an optional constructor argument for the ServiceInterfaceStream. Sometimes, the additional CR character leads to two line breaks (host computer console for example).
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fsfw/fsfw#31
No description provided.