flightaware/dump1090

Second digit not cleared for time column in interactive mode. So align time value to right

darkblaze69 opened this issue · 2 comments

Second digit not cleared on updates for time column in interactive mode when time is zeroed again.
Apparently needs aligning time value to right. So format should be like
"%s%06X %-4s %-4s %-8s %6s %3s %3s %7s %8s %5.1f %5d %3.0f"
instead of current
"%s%06X %-4s %-4s %-8s %6s %3s %3s %7s %8s %5.1f %5d %*.0f"

Yeah, this is a regression from when a PR to add an option to support longer timeouts was merged.

You can't just change the format string quite like that though.

The problem is still not fixed. What's the proper way to fix this then?
btw. I have patched with proposed solution and see no problems with it.