Skip to content

fix(syntax): prevent clipping with syntax + padding #3770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

arkuhn
Copy link

@arkuhn arkuhn commented Jun 18, 2025

Reduce render width by padding to keep wrapped lines within console width/prevent clipping.

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

Please describe your changes here. If this fixes a bug, please link to the issue, if possible.

arkuhn added 2 commits June 18, 2025 02:00
Reduce render width by padding to keep wrapped lines within console
width/prevent clipping.
@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.88%. Comparing base (225cb07) to head (69f7c8a).
Report is 77 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3770      +/-   ##
==========================================
- Coverage   98.24%   97.88%   -0.37%     
==========================================
  Files          74       74              
  Lines        8105     8137      +32     
==========================================
+ Hits         7963     7965       +2     
- Misses        142      172      +30     
Flag Coverage Δ
unittests 97.88% <100.00%> (-0.37%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@willmcgugan
Copy link
Member

Thanks for the PR! I've gone with a slightly different approach in #3782

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