Repository navigation
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
👏 Thanks
- Pad milliseconds for sub-100ms durations by @taras-tarabanov in #429
Full Changelog: v4.19.1...v4.19.2