Skip to content
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

Add ability to set max length for content #47

Merged
merged 6 commits into from
Nov 28, 2023
Merged

Conversation

faissaloux
Copy link
Owner

termspark = TermSpark()
termspark.spark_left(["LEFT", "red"])
termspark.spark_center(["CENTER", "green"])
termspark.spark_right(["RIGHT", "blue"])
termspark.max_left(2)
termspark.max_center(4)
termspark.max_right(3)
termspark.spark()

Result

Screenshot from 2023-11-27 22-49-52

@faissaloux faissaloux added the enhancement New feature or request label Nov 27, 2023
@faissaloux faissaloux added this to the 1.6.0 milestone Nov 27, 2023
@faissaloux faissaloux self-assigned this Nov 27, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (773a22b) 100.00% compared to head (9bb976b) 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##              main       #47    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           28        33     +5     
  Lines          910      1053   +143     
==========================================
+ Hits           910      1053   +143     

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

@faissaloux faissaloux merged commit c1cf48f into main Nov 28, 2023
@faissaloux faissaloux deleted the content-max-length branch November 28, 2023 12:58
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