Skip to content

v4.19.2: ⏳ Fix command duration milliseconds padding

Latest

Choose a tag to compare

@edouard-lopez edouard-lopez released this 15 Oct 09:38
· 4 commits to master since this release

Fix incorrect command duration display for sub-100ms durations.

⏳ Fix command duration milliseconds padding

Fix the sub-second part of the command duration so it is zero-padded: a duration of 5ms no longer renders with a wrong fraction, and now shows the correct milliseconds.

Preview

❯ set -U pure_threshold_command_duration 0
❯ set -U pure_show_subsecond_command_duration true
❯ sleep 0.05
pure_threshold_command_duration_0ms_preview

👏 Thanks

Full Changelog: v4.19.1...v4.19.2