mirror of
https://github.com/ratatui-org/ratatui
synced 2025-02-16 22:18:51 +00:00
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"). QuadrantOutside: ``` ▛▀▀▜ ▌ ▐ ▙▄▄▟ ``` QuadrantInside: ``` ▗▄▄▖ ▐ ▌ ▝▀▀▘ ``` Fixes: https://github.com/ratatui-org/ratatui/issues/528 BREAKING CHANGES: - BorderType::to_line_set is renamed to to_border_set - BorderType::line_symbols is renamed to border_symbols |
||
---|---|---|
.. | ||
backend | ||
style | ||
text | ||
widgets | ||
backend.rs | ||
buffer.rs | ||
layout.rs | ||
lib.rs | ||
prelude.rs | ||
style.rs | ||
symbols.rs | ||
terminal.rs | ||
text.rs | ||
title.rs | ||
widgets.rs |