Skip to content

Dynamic Boot Spacing #275

@krubenok

Description

@krubenok

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions