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

Dynamic Boot Spacing #275

Open
krubenok opened this issue Mar 21, 2020 · 0 comments
Open

Dynamic Boot Spacing #275

krubenok opened this issue Mar 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@krubenok
Copy link
Member

Description of Problem / Inefficiency:

#180 introduced ?boot with support for alternate emojis or any other sequence of characters. It would be good if the offset spacing was dynamically detected so that pyramids with non-standard characters (I.e. not an emoji) had slightly straighter emojis.

Implementation Suggestion:

Simple solution would be just to insert n spaces for n characters in the input string. There might need to be a multiple for emojis which are a few spaces wide. Maybe there's a better algorithm for finding the space-width of a string.

Additional Context / Screenshots:

Like this:
image
Not this:
image

@krubenok krubenok added the enhancement New feature or request label Mar 21, 2020
@krubenok krubenok self-assigned this Mar 21, 2020
@krubenok krubenok removed their assignment Aug 2, 2021
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

No branches or pull requests

1 participant