dump1090 icon indicating copy to clipboard operation
dump1090 copied to clipboard

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

Open darkblaze69 opened this issue 3 years ago • 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"

darkblaze69 avatar Feb 19 '22 23:02 darkblaze69

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.

mutability avatar Feb 20 '22 01:02 mutability

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.

darkblaze69 avatar Jan 18 '23 06:01 darkblaze69