Skip to content

🐛 Don't write beyond passed capacity #7

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

Merged
merged 1 commit into from
Jun 15, 2022
Merged

Conversation

karnkaul
Copy link
Member

@karnkaul karnkaul commented Jun 15, 2022

  • Add pen_t::capacity and track on writing every character.

Close #6

- Add `pen_t::capacity` and track on writing every character.
- Don't close styles that don't have scope (reset/clear).
@karnkaul karnkaul force-pushed the karnage/literal-fixes branch from 156f926 to 62ec9c2 Compare June 15, 2022 16:17
@karnkaul karnkaul marked this pull request as ready for review June 15, 2022 16:21
@karnkaul karnkaul enabled auto-merge (squash) June 15, 2022 16:21
@karnkaul karnkaul requested a review from flyingsl0ths June 15, 2022 16:21
auto-merge was automatically disabled June 15, 2022 16:55

Pull request was closed

@flyingsl0ths flyingsl0ths reopened this Jun 15, 2022
Copy link
Contributor

@flyingsl0ths flyingsl0ths left a comment

Choose a reason for hiding this comment

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

Tested, issues mentioned in #6 are no longer present

@karnkaul karnkaul merged commit 9190069 into main Jun 15, 2022
@karnkaul karnkaul deleted the karnage/literal-fixes branch June 15, 2022 17:45
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.

Problems with <clear> style
2 participants