flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.14k stars 1.12k forks source link

Extra linefeeds in printouts #7389

Open ferryvanaesch opened 2 years ago

ferryvanaesch commented 2 years ago

Aircraft Version

Experimental

Build info

{
    "built": "2022-08-01T07:57:44+00:00",
    "ref": "refs/heads/experimental",
    "sha": "a49f38b8a863367ac040a97c78f253dea5e2e00d",
    "actor": "2hwk",
    "event_name": "manual",
    "pretty_release_name": "experimental:a49f38b8"
}

Describe the bug

When printing pre-departure clearance messages, I see extra linefeeds. This does not happen with for instance METAR printouts.

image

image

Expected behavior

No extra linefeeds.

Steps to reproduce

Receive PDC Press Print

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

fva#1444

ferryvanaesch commented 2 years ago

Also, only noticing that now, there's a } at the end of EHAW in the printout.

ferryvanaesch commented 2 years ago

image

ferryvanaesch commented 2 years ago

Actually, it does happen there as well right, assuming the METAR itself is printed as a single line and wraps onto the next?