Skip to content

Add 'printed_strlen' utility function - #746

Merged
cottsay merged 1 commit into
masterfrom
cottsay/printed_strlen
Sep 17, 2026
Merged

cottsay merged 1 commit into
masterfrom
cottsay/printed_strlen

Conversation

@cottsay

@cottsay cottsay commented Sep 17, 2026

Copy link
Copy Markdown
Member

This function is useful in output styling contexts where we need to determine how many columns a stylized string will occupy.

Inspired by @christophebedard : colcon/colcon-notification#80 (comment)

This function is useful in output styling contexts where we need to
determine how many columns a stylized string will occupy.
@codecov

codecov Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.25%. Comparing base (23d9a36) to head (fac69d8).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #746      +/-   ##
==========================================
+ Coverage   87.23%   87.25%   +0.01%     
==========================================
  Files          75       75              
  Lines        4686     4692       +6     
  Branches      816      817       +1     
==========================================
+ Hits         4088     4094       +6     
  Misses        468      468              
  Partials      130      130              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@christophebedard christophebedard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀

@cottsay
cottsay merged commit f319249 into master Sep 17, 2026
46 checks passed
@cottsay
cottsay deleted the cottsay/printed_strlen branch September 17, 2026 16:50
@cottsay cottsay added this to the 0.21.3 milestone Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants