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

feat(block)!: allow custom symbols for borders #529

Merged
merged 2 commits into from
Sep 24, 2023
Merged

Commits on Sep 22, 2023

  1. feat(block)!: allow custom symbols for borders

    Adds a new `Block::border_set` method that allows the user to specify
    the symbols used for the border.
    
    Added two new border types: `BorderType::QuadrantOutside` and
    `BorderType::QuadrantInside`. These are used to draw borders using the
    unicode quadrant characters (which look like half block "pixels").
    
    ▛▀▀▜
    ▌  ▐
    ▙▄▄▟
    
    ▗▄▄▖
    ▐  ▌
    ▝▀▀▘
    
    Fixes: #528
    
    BREAKING CHANGES:
    - BorderType::to_line_set is renamed to to_border_set
    - BorderType::line_symbols is renamed to border_symbols
    joshka committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    2f1807a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5edea3 View commit details
    Browse the repository at this point in the history