Skip to content

Conversation

@Nemo157
Copy link
Contributor

@Nemo157 Nemo157 commented Jan 26, 2024

Fixes issue from #1574 (comment) (though, I wasn't able to reproduce, the failure implies that PREFIX_LENGTH is inadequate for some situations, and the previous implementation would have been overwriting the already printed duration).

@Nemo157
Copy link
Contributor Author

Nemo157 commented Jan 26, 2024

Another option would be to then clamp to 1.. so that there is always at least 1 space of padding.

Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@ellie ellie enabled auto-merge (squash) January 26, 2024 11:53
@ellie ellie merged commit d9c40d6 into atuinsh:main Jan 26, 2024
@akinomyoga
Copy link
Contributor

Thank you!

@Nemo157 Nemo157 deleted the checked-padding branch January 26, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants